diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-19 23:17:45 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-19 23:18:10 -0400 |
commit | a27c1db640342f482076fb9306363d909f89bcb4 (patch) | |
tree | 1dfb90753ab2cb43bb1d54e225fcd0ab92e9e576 /bin | |
parent | bc6fb3098c70c11b1c17ddb51794d154304fa0b4 (diff) | |
download | puppet-tozt-a27c1db640342f482076fb9306363d909f89bcb4.tar.gz puppet-tozt-a27c1db640342f482076fb9306363d909f89bcb4.zip |
sync secrets to the right place
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/helpers/launch-tozt | 2 | ||||
-rwxr-xr-x | bin/secrets | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/helpers/launch-tozt b/bin/helpers/launch-tozt index 360c5d7..3eb1ae1 100755 --- a/bin/helpers/launch-tozt +++ b/bin/helpers/launch-tozt @@ -65,7 +65,7 @@ if remote test ! -e /usr/bin/pacman; then fi ensure_conf_exists -scp -r /mnt/puppet/tozt/ root@"$host":/usr/local/share/puppet-tozt/modules/secret/files +scp -r /mnt/puppet/tozt/ root@"$host":/usr/local/share/puppet-tozt/tozt/secret/files remote "cd '$conf_location' && puppet apply --modulepath=./tozt -e 'include tozt'" echo "Done" diff --git a/bin/secrets b/bin/secrets index d42c5de..e8554fb 100755 --- a/bin/secrets +++ b/bin/secrets @@ -49,7 +49,7 @@ cmd_sync() { rsync -avz --delete \ /mnt/puppet/"$host"/. \ - root@"$hostname":/usr/local/share/puppet-tozt/modules/secret/files + root@"$hostname":/usr/local/share/puppet-tozt/"$host"/secret/files if [ -z "$was_opened" ]; then cmd_close |