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