diff --git a/deploy.sh b/deploy.sh index 1663f8c..a45d51d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -6,6 +6,8 @@ puppet apply manifests/main.pp --modulepath=modules/ --verbose patch /usr/bin/makepkg -N < makepkg.patch -puppet apply manifests/packages.pp --modulepath=modules/ --verbose +puppet apply manifests/packages.pp --verbose patch /usr/bin/makepkg -NR < makepkg.patch + +puppet apply manifests/post-packages.pp --verbose diff --git a/manifests/post-packages.pp b/manifests/post-packages.pp new file mode 100644 index 0000000..ec590b1 --- /dev/null +++ b/manifests/post-packages.pp @@ -0,0 +1,9 @@ +node default { + file {"autostart compton": + ensure => link, + path => '/home/jake/.config/autostart/compton.desktop', + mode => '0644', + owner => 'jake', + source => '/usr/share/applications/compton.desktop' + } +} diff --git a/modules/i3/manifests/autostart.pp b/modules/i3/manifests/autostart.pp index cdee804..f12867d 100644 --- a/modules/i3/manifests/autostart.pp +++ b/modules/i3/manifests/autostart.pp @@ -26,13 +26,4 @@ class i3::autostart { source => "/etc/xdg/autostart/$program.desktop" } } - - file {"autostart compton": - ensure => link, - path => '/home/jake/.config/autostart/compton.desktop', - mode => '0644', - owner => 'jake', - source => '/usr/share/applications/compton.desktop' - - } }