summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2011-05-16 11:01:20 +0200
committerJames Turnbull <james@lovedthanlost.net>2011-06-03 21:57:36 +1000
commit1dcf1647a70580e90bc9bd82f424e0b1ca0f6079 (patch)
treee9611aabd4831c5941f96e75ccb07bdab98ddb25 /lib/puppet
parentf31853d1c3ccb4d84ae7e417bc25e14260d7e969 (diff)
downloadpuppet-vcsrepo-1dcf1647a70580e90bc9bd82f424e0b1ca0f6079.tar.gz
puppet-vcsrepo-1dcf1647a70580e90bc9bd82f424e0b1ca0f6079.tar.bz2
Fix #7534: provider.revision should not get called when repo doesn't exist.
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/type/vcsrepo.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/puppet/type/vcsrepo.rb b/lib/puppet/type/vcsrepo.rb
index f0d2613..9637ec5 100644
--- a/lib/puppet/type/vcsrepo.rb
+++ b/lib/puppet/type/vcsrepo.rb
@@ -31,8 +31,6 @@ Puppet::Type.newtype(:vcsrepo) do
if is == :latest
return true
else
- self.debug "%s repo revision is %s, latest is %s" %
- [@resource.name, provider.revision, provider.latest]
return false
end
end