diff options
author | Paul Chechetin <paulche@yandex.ru> | 2012-12-21 20:49:45 +0400 |
---|---|---|
committer | Paul Chechetin <paulche@yandex.ru> | 2013-07-17 11:06:05 +0400 |
commit | ad6913b81db57f29ab634d353963b66ffb2a814d (patch) | |
tree | cd7e90097cb3cb90a2d2007309dc339b3c7aa973 /lib | |
parent | 04851c28b12973c679fc9f234fd0f5a193df9d7a (diff) | |
download | puppet-vcsrepo-ad6913b81db57f29ab634d353963b66ffb2a814d.tar.gz puppet-vcsrepo-ad6913b81db57f29ab634d353963b66ffb2a814d.tar.bz2 |
Unlimited sudmodule's nesting for git provider
Diffstat (limited to 'lib')
-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 |