[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. puppet-0.24.5-rc3-1456-g2f0b1e5
James Turnbull
james at lovedthanlost.net
Tue Oct 27 17:05:20 UTC 2009
The following commit has been merged in the upstream branch:
commit cde70cf0dc651bf1afb020d93a65cf2a175af33f
Author: Nigel Kersten <nigelk at google.com>
Date: Wed Sep 16 12:59:54 2009 -0700
Fixes #2648. Spurious macauthorization parameter changes
diff --git a/lib/puppet/provider/macauthorization/macauthorization.rb b/lib/puppet/provider/macauthorization/macauthorization.rb
index 0c7a9a6..b53529c 100644
--- a/lib/puppet/provider/macauthorization/macauthorization.rb
+++ b/lib/puppet/provider/macauthorization/macauthorization.rb
@@ -258,9 +258,9 @@ Puppet::Type.type(:macauthorization).provide :macauthorization, :parent => Puppe
value = self.class.parsed_auth_db[resource_name][native_attribute]
case value
when true, "true", :true
- value = true
+ value = :true
when false, "false", :false
- value = false
+ value = :false
end
@property_hash[attribute] = value
@@ -289,9 +289,9 @@ Puppet::Type.type(:macauthorization).provide :macauthorization, :parent => Puppe
define_method(field.to_s + "=") do |value|
case value
when true, "true", :true
- @property_hash[field] = true
+ @property_hash[field] = :true
when false, "false", :false
- @property_hash[field] = false
+ @property_hash[field] = :false
else
@property_hash[field] = value
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list