summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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