diff options
-rwxr-xr-x | bin/helpers/launch-tozt | 2 | ||||
-rw-r--r-- | manifests/tozt.pp (renamed from modules/tozt/manifests/init.pp) | 2 | ||||
-rw-r--r-- | modules/tozt/files/puppet-tozt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/helpers/launch-tozt b/bin/helpers/launch-tozt index 7b23894..0d93aac 100755 --- a/bin/helpers/launch-tozt +++ b/bin/helpers/launch-tozt @@ -66,6 +66,6 @@ fi ensure_conf_exists scp -r /mnt/puppet/tozt/ root@"$host":/usr/local/share/puppet-tozt/modules/secret/files -remote "cd '$conf_location' && puppet apply --modulepath=./modules -e 'include tozt'" +remote "cd '$conf_location' && puppet apply --modulepath=./modules manifests" echo "Done" diff --git a/modules/tozt/manifests/init.pp b/manifests/tozt.pp index f7997da..85e0204 100644 --- a/modules/tozt/manifests/init.pp +++ b/manifests/tozt.pp @@ -1,4 +1,4 @@ -class tozt { +node 'tozt.localdomain' { include tozt::users Package::Makepkg { diff --git a/modules/tozt/files/puppet-tozt b/modules/tozt/files/puppet-tozt index 4ea27ef..6d06998 100644 --- a/modules/tozt/files/puppet-tozt +++ b/modules/tozt/files/puppet-tozt @@ -3,4 +3,4 @@ set -eu set -o pipefail (cd /usr/local/share/puppet-tozt && sudo git pull) -sudo puppet apply --show_diff --modulepath=/usr/local/share/puppet-tozt/modules -e 'include tozt' +sudo puppet apply --show_diff --modulepath=/usr/local/share/puppet-tozt/modules /usr/local/share/puppet-tozt/manifests |