# File lib/puppet/provider/parsedfile.rb, line 344 344: def initialize(record) 345: super 346: 347: # The 'record' could be a resource or a record, depending on how the provider 348: # is initialized. If we got an empty property hash (probably because the resource 349: # is just being initialized), then we want to set up some defualts. 350: @property_hash = self.class.record?(resource[:name]) || {:record_type => self.class.name, :ensure => :absent} if @property_hash.empty? 351: end