summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-15 03:10:11 -0400
committerJesse Luehrs <doy@tozt.net>2020-06-15 03:10:11 -0400
commit5c195e703ef4011cf6b3ef2adf130ec5ff79af6d (patch)
tree59468ad0debb1df0a48f9bfb378b9d16aa91dfad /modules/base
parent2a4e73e06824a6d313c2e2b1282035b6e790620d (diff)
downloadpuppet-tozt-5c195e703ef4011cf6b3ef2adf130ec5ff79af6d.tar.gz
puppet-tozt-5c195e703ef4011cf6b3ef2adf130ec5ff79af6d.zip
fix git stuff
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/files/puppet-tozt2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/files/puppet-tozt b/modules/base/files/puppet-tozt
index f8c6f57..98d8850 100644
--- a/modules/base/files/puppet-tozt
+++ b/modules/base/files/puppet-tozt
@@ -3,5 +3,5 @@ set -eu
set -o pipefail
branch=${1:-master}
-(cd /usr/local/share/puppet-tozt && sudo git pull && sudo git checkout "$branch" && sudo git reset --hard "origin/$branch")
+(cd /usr/local/share/puppet-tozt && sudo git checkout "$branch" && sudo git pull && sudo git reset --hard "origin/$branch")
sudo ruby -W0 /usr/bin/puppet apply --show_diff --modulepath=/usr/local/share/puppet-tozt/modules --hiera_config=/usr/local/share/puppet-tozt/hiera/hiera.yaml /usr/local/share/puppet-tozt/manifests