summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-15 03:12:30 -0400
committerJesse Luehrs <doy@tozt.net>2020-06-15 03:12:30 -0400
commit0477b2a2e4776f8ab0511befa752534d03461734 (patch)
treefcbf136786dbd9c8c82f9edc029a54fc174ed26f /modules/base
parent5c195e703ef4011cf6b3ef2adf130ec5ff79af6d (diff)
downloadpuppet-tozt-0477b2a2e4776f8ab0511befa752534d03461734.tar.gz
puppet-tozt-0477b2a2e4776f8ab0511befa752534d03461734.zip
more cleanups
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 98d8850..df62200 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 "$branch" && sudo git pull && sudo git reset --hard "origin/$branch")
+(cd /usr/local/share/puppet-tozt && sudo git checkout "$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