summaryrefslogtreecommitdiff
path: root/lib/puppet/provider
diff options
context:
space:
mode:
authorErnesto Ruy Sanchez <ernesto@cyphergenomics.com>2015-01-30 11:01:01 -0800
committerErnesto Ruy Sanchez <ernesto@cyphergenomics.com>2015-01-30 11:01:01 -0800
commit56852e9cbf93c3f6f5db7dcdd40b3d364b548182 (patch)
treea318e9b921d7b3bffabe0218b743493fcd31b654 /lib/puppet/provider
parentcf5c8e6e9fb46115d59ec4e3b5d433e29168fe00 (diff)
downloadpuppet-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.rb2
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