diff options
author | Aaron Stone <aaron@serendipity.cx> | 2013-07-17 14:25:51 -0700 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2013-07-17 14:25:51 -0700 |
commit | ff2607235cd29114212bd49186319a7bf0980944 (patch) | |
tree | 3932da0e02fd12956825a1f5796e83aa4bc43d87 /lib/puppet/provider | |
parent | 76227ed83795b882e0d8cffcff79ea5bab61ab6c (diff) | |
parent | ad6913b81db57f29ab634d353963b66ffb2a814d (diff) |
Merge pull request #46 from Paulche/master
Enable unlimited nesting for submodule updating
Diffstat (limited to 'lib/puppet/provider')
-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 536f652..d971e90 100644 --- a/lib/puppet/provider/vcsrepo/git.rb +++ b/lib/puppet/provider/vcsrepo/git.rb @@ -231,10 +231,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 |