diff options
Diffstat (limited to 'lib/puppet/provider/vcsrepo/git.rb')
-rw-r--r-- | lib/puppet/provider/vcsrepo/git.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/puppet/provider/vcsrepo/git.rb b/lib/puppet/provider/vcsrepo/git.rb index 9254243..66c4d07 100644 --- a/lib/puppet/provider/vcsrepo/git.rb +++ b/lib/puppet/provider/vcsrepo/git.rb @@ -205,10 +205,7 @@ Puppet::Type.type(:vcsrepo).provide(:git, :parent => Puppet::Provider::Vcsrepo) def update_submodules at_path do - git_with_identity('submodule', 'init') - git_with_identity('submodule', 'update') - git_with_identity('submodule', 'foreach', 'git', 'submodule', 'init') - git_with_identity('submodule', 'foreach', 'git', 'submodule', 'update') + git_with_identity('submodule', 'update', '--init', '--recursive') end end |