# File lib/puppet/resource/type_collection.rb, line 10 10: def initialize(env) 11: @environment = env.is_a?(String) ? Puppet::Node::Environment.new(env) : env 12: @hostclasses = {} 13: @definitions = {} 14: @nodes = {} 15: 16: # So we can keep a list and match the first-defined regex 17: @node_list = [] 18: 19: @watched_files = {} 20: end