summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-11-04 04:24:43 -0400
committerJesse Luehrs <doy@tozt.net>2017-11-04 04:24:43 -0400
commit0191f5393a1410a72e789382037e125e6e2a34c6 (patch)
tree742877b3f8abcfb688ac63a9b304cbcfd71624c2 /bootstrap
parent5ae7d9c66529d95fe2fee81320ed62575e28b33c (diff)
downloadpuppet-tozt-0191f5393a1410a72e789382037e125e6e2a34c6.tar.gz
puppet-tozt-0191f5393a1410a72e789382037e125e6e2a34c6.zip
move the bootstrap git repo to /tmp
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index 96e6301..f7de61c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -12,10 +12,10 @@ fi
ssh root@$host pacman --noconfirm --needed -S puppet git
-if ssh root@$host test -d /root/bootstrap-tozt; then
- ssh root@$host "cd bootstrap-tozt && git pull"
+if ssh root@$host test -d /tmp/bootstrap-tozt; then
+ ssh root@$host "cd /tmp/bootstrap-tozt && git pull"
else
- ssh root@$host git clone git://github.com/doy/bootstrap-tozt
+ ssh root@$host "cd /tmp && git clone git://github.com/doy/bootstrap-tozt"
fi
-ssh root@$host "cd bootstrap-tozt && puppet apply --modulepath=./modules manifest.pp"
+ssh root@$host "cd /tmp/bootstrap-tozt && puppet apply --modulepath=./modules manifest.pp"