diff --git a/deploy.sh b/deploy.sh index ab755e6..1663f8c 100755 --- a/deploy.sh +++ b/deploy.sh @@ -2,8 +2,10 @@ set -e -patch /usr/bin/makepkg -N < makepkg.patch - puppet apply manifests/main.pp --modulepath=modules/ --verbose +patch /usr/bin/makepkg -N < makepkg.patch + +puppet apply manifests/packages.pp --modulepath=modules/ --verbose + patch /usr/bin/makepkg -NR < makepkg.patch diff --git a/modules/yaourt/manifests/packages.pp b/manifests/packages.pp similarity index 98% rename from modules/yaourt/manifests/packages.pp rename to manifests/packages.pp index da09eff..831754f 100644 --- a/modules/yaourt/manifests/packages.pp +++ b/manifests/packages.pp @@ -1,4 +1,4 @@ -class yaourt::packages () { +node default { package {[ 'acpi', 'advanced-ssh-config', diff --git a/modules/yaourt/manifests/init.pp b/modules/yaourt/manifests/init.pp index 9930514..6ae7ffd 100644 --- a/modules/yaourt/manifests/init.pp +++ b/modules/yaourt/manifests/init.pp @@ -1,7 +1,5 @@ class yaourt { include 'yaourt::files' - include 'yaourt::packages'; - include 'yaourt::keys' }