# File lib/puppet/provider/macauthorization/macauthorization.rb, line 85 85: def create 86: # we just fill the @property_hash in here and let the flush method 87: # deal with it rather than repeating code. 88: new_values = {} 89: validprops = Puppet::Type.type(resource.class.name).validproperties 90: validprops.each do |prop| 91: next if prop == :ensure 92: if value = resource.should(prop) and value != "" 93: new_values[prop] = value 94: end 95: end 96: @property_hash = new_values.dup 97: end