summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNigel Kersten <nigelk@google.com>2009-09-16 12:59:54 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-09-19 08:34:28 +1000
commitcde70cf0dc651bf1afb020d93a65cf2a175af33f (patch)
tree60a864bb2bbc1e71ce88550d06ce273b1dd3d5b5 /lib
parentdcf0d0d726ecec8c6180e2443b4b94b6d4ea4abf (diff)
downloadpuppet-cde70cf0dc651bf1afb020d93a65cf2a175af33f.tar.gz
puppet-cde70cf0dc651bf1afb020d93a65cf2a175af33f.tar.xz
puppet-cde70cf0dc651bf1afb020d93a65cf2a175af33f.zip
Fixes #2648. Spurious macauthorization parameter changes
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/provider/macauthorization/macauthorization.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/provider/macauthorization/macauthorization.rb b/lib/puppet/provider/macauthorization/macauthorization.rb
index 0c7a9a633..b53529cb4 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