# File lib/puppet/provider/parsedfile.rb, line 345 345: def flush 346: # Make sure we've got a target and name set. 347: 348: # If the target isn't set, then this is our first modification, so 349: # mark it for flushing. 350: unless @property_hash[:target] 351: @property_hash[:target] = @resource.should(:target) || self.class.default_target 352: self.class.modified(@property_hash[:target]) 353: end 354: @property_hash[:name] ||= @resource.name 355: 356: self.class.flush(@property_hash) 357: 358: #@property_hash = {} 359: end