# File lib/puppet/provider/nameservice/directoryservice.rb, line 78
78:     def self.instances
79:         # JJM Class method that provides an array of instance objects of this
80:         #     type.
81:         # JJM: Properties are dependent on the Puppet::Type we're managine.
82:         type_property_array = [:name] + @resource_type.validproperties
83: 
84:         # Create a new instance of this Puppet::Type for each object present
85:         #    on the system.
86:         list_all_present.collect do |name_string|
87:             self.new(single_report(name_string, *type_property_array))
88:         end
89:     end