# File lib/puppet/provider/parsedfile.rb, line 361 361: def initialize(record) 362: super 363: 364: # The 'record' could be a resource or a record, depending on how the provider 365: # is initialized. If we got an empty property hash (probably because the resource 366: # is just being initialized), then we want to set up some defualts. 367: if @property_hash.empty? 368: @property_hash = self.class.record?(resource[:name]) || {:record_type => self.class.name, :ensure => :absent} 369: end 370: end