aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/manifests/snapshot.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/manifests/snapshot.pp')
-rw-r--r--modules/git/manifests/snapshot.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/manifests/snapshot.pp b/modules/git/manifests/snapshot.pp
index f89d27cd..32e77d36 100644
--- a/modules/git/manifests/snapshot.pp
+++ b/modules/git/manifests/snapshot.pp
@@ -16,7 +16,7 @@ define git::snapshot( $source,
if ($refresh != '0') {
cron { "update $name":
- command => "cd $name && /usr/bin/git pull -q",
+ command => "cd $name && /usr/bin/git pull -q && /usr/bin/git submodule --quiet update --init --recursive",
user => $user,
minute => $refresh
}