# File lib/puppet/provider/parsedfile.rb, line 328 328: def flush 329: # Make sure we've got a target and name set. 330: 331: # If the target isn't set, then this is our first modification, so 332: # mark it for flushing. 333: unless @property_hash[:target] 334: @property_hash[:target] = @resource.should(:target) || self.class.default_target 335: self.class.modified(@property_hash[:target]) 336: end 337: @property_hash[:name] ||= @resource.name 338: 339: self.class.flush(@property_hash) 340: 341: #@property_hash = {} 342: end