diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2011-01-21 06:51:33 +0800 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2011-05-20 18:04:06 -0700 |
commit | f31853d1c3ccb4d84ae7e417bc25e14260d7e969 (patch) | |
tree | 1379b091c8d719cd6b991f3acd92fb76c99f9ce9 /lib/puppet | |
parent | 5b89b20928fa262fc6683995b0e679fe13e00035 (diff) | |
download | puppet-vcsrepo-f31853d1c3ccb4d84ae7e417bc25e14260d7e969.tar.gz puppet-vcsrepo-f31853d1c3ccb4d84ae7e417bc25e14260d7e969.tar.bz2 |
git: Update submodules recursively
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/provider/vcsrepo/git.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/provider/vcsrepo/git.rb b/lib/puppet/provider/vcsrepo/git.rb index 662ddff..fa7e492 100644 --- a/lib/puppet/provider/vcsrepo/git.rb +++ b/lib/puppet/provider/vcsrepo/git.rb @@ -198,6 +198,8 @@ Puppet::Type.type(:vcsrepo).provide(:git, :parent => Puppet::Provider::Vcsrepo) at_path do git('submodule', 'init') git('submodule', 'update') + git('submodule', 'foreach', 'git', 'submodule', 'init') + git('submodule', 'foreach', 'git', 'submodule', 'update') end end |