summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-11-04 03:32:55 -0400
committerJesse Luehrs <doy@tozt.net>2017-11-04 03:32:55 -0400
commit38000c64aa9d9440bc57de95f40a22297d983293 (patch)
treee84307d9e5b7e2fdcd23ae47c4e767faa79b8f3d /bootstrap
parent3c7671515ccfa9c30154e5b9ec2ac0f53e5a56fe (diff)
downloadpuppet-tozt-38000c64aa9d9440bc57de95f40a22297d983293.tar.gz
puppet-tozt-38000c64aa9d9440bc57de95f40a22297d983293.zip
start implementing some things
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap b/bootstrap
index e2cdf1c..96e6301 100755
--- a/bootstrap
+++ b/bootstrap
@@ -10,12 +10,12 @@ if ssh root@$host test ! -e /usr/bin/pacman; then
sleep 15
fi
-ssh root@$host pacman --noconfirm -S puppet git
+ssh root@$host pacman --noconfirm --needed -S puppet git
if ssh root@$host test -d /root/bootstrap-tozt; then
- ssh root@$host sh -c "cd bootstrap-tozt && git pull"
+ ssh root@$host "cd bootstrap-tozt && git pull"
else
ssh root@$host git clone git://github.com/doy/bootstrap-tozt
fi
-ssh root@$host sh -c "cd bootstrap-tozt && puppet apply manifest.pp"
+ssh root@$host "cd bootstrap-tozt && puppet apply --modulepath=./modules manifest.pp"