diff options
author | Ernesto Ruy Sanchez <ernesto@cyphergenomics.com> | 2015-01-30 11:01:01 -0800 |
---|---|---|
committer | Ernesto Ruy Sanchez <ernesto@cyphergenomics.com> | 2015-01-30 11:01:01 -0800 |
commit | 56852e9cbf93c3f6f5db7dcdd40b3d364b548182 (patch) | |
tree | a318e9b921d7b3bffabe0218b743493fcd31b654 /lib/puppet/provider | |
parent | cf5c8e6e9fb46115d59ec4e3b5d433e29168fe00 (diff) | |
download | puppet-vcsrepo-56852e9cbf93c3f6f5db7dcdd40b3d364b548182.tar.gz puppet-vcsrepo-56852e9cbf93c3f6f5db7dcdd40b3d364b548182.tar.bz2 |
Bugfix: removed duplicated condition
Diffstat (limited to 'lib/puppet/provider')
-rw-r--r-- | lib/puppet/provider/vcsrepo/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/vcsrepo/git.rb b/lib/puppet/provider/vcsrepo/git.rb index e31a76c..dde9bf0 100644 --- a/lib/puppet/provider/vcsrepo/git.rb +++ b/lib/puppet/provider/vcsrepo/git.rb @@ -20,7 +20,7 @@ Puppet::Type.type(:vcsrepo).provide(:git, :parent => Puppet::Provider::Vcsrepo) if @resource.value(:revision) checkout end - if @resource.value(:ensure) != :bare && @resource.value(:submodules) == :true && @resource.value(:submodules) == :true + if @resource.value(:ensure) != :bare && @resource.value(:submodules) == :true update_submodules end |