# File lib/puppet/provider/macauthorization/macauthorization.rb, line 225
225:     def convert_plist_to_native_attributes(propertylist)
226:         # This mainly converts the keys from the puppet attributes to the
227:         # 'native' ones, but also enforces that the keys are all Strings
228:         # rather than Symbols so that any merges of the resultant Hash are
229:         # sane. The exception is booleans, where we coerce to a proper bool
230:         # if they come in as a symbol.
231:         newplist = {}
232:         propertylist.each_pair do |key, value|
233:             next if key == :ensure     # not part of the auth db schema.
234:             next if key == :auth_type  # not part of the auth db schema.
235:             case value
236:             when true, :true
237:                 value = true
238:             when false, :false
239:                 value = false
240:             end
241:             new_key = key
242:             if PuppetToNativeAttributeMap.has_key?(key)
243:                 new_key = PuppetToNativeAttributeMap[key].to_s
244:             elsif not key.is_a?(String)
245:                 new_key = key.to_s
246:             end
247:             newplist[new_key] = value
248:         end
249:         newplist
250:     end