[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.1rc1-141-gcdb2b90
Markus Roberts
Markus at reality.com
Mon Aug 16 12:48:01 UTC 2010
The following commit has been merged in the upstream branch:
commit 28bb1950cf040eaf5196e39f43b3a9d0d61175a7
Author: James Turnbull <james at lovedthanlost.net>
Date: Fri Jul 16 14:42:01 2010 +1000
Fixed yumrepo type deprecation wanring
`
diff --git a/lib/puppet/type/yumrepo.rb b/lib/puppet/type/yumrepo.rb
index e0ed3ad..5d86b1c 100644
--- a/lib/puppet/type/yumrepo.rb
+++ b/lib/puppet/type/yumrepo.rb
@@ -85,7 +85,7 @@ module Puppet
clear
inifile.each_section do |s|
next if s.name == "main"
- obj = create(:name => s.name, :audit => check)
+ obj = new(:name => s.name, :audit => check)
current_values = obj.retrieve
obj.eachproperty do |property|
if current_values[property].nil?
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list