summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-16 01:46:10 -0400
committerJesse Luehrs <doy@tozt.net>2020-06-16 01:46:10 -0400
commitc53e9f3e7e874fc64554d634ef3773c8d089cd7d (patch)
tree7a15f687ce11d73a089cfde1f64ddc915a4713a0 /modules/base
parentc987bc4bf66d8f76fe40304af503d358a8794931 (diff)
downloadpuppet-tozt-c53e9f3e7e874fc64554d634ef3773c8d089cd7d.tar.gz
puppet-tozt-c53e9f3e7e874fc64554d634ef3773c8d089cd7d.zip
also track the branch
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 3d9c4f4..b6c784a 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 checkout -B "$branch" && sudo git pull && sudo git submodule update --init --recursive && sudo git reset --hard "origin/$branch")
+(cd /usr/local/share/puppet-tozt && sudo git checkout -B --track "$branch" && sudo git pull && sudo git submodule update --init --recursive && 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