# File lib/puppet/rails/host.rb, line 84 84: def merge_resources(list) 85: # keep only exported resources in thin_storeconfig mode 86: list = list.select { |r| r.exported? } if Puppet.settings[:thin_storeconfigs] 87: 88: resources_by_id = nil 89: debug_benchmark("Searched for resources") { 90: resources_by_id = find_resources 91: } 92: 93: debug_benchmark("Searched for resource params and tags") { 94: find_resources_parameters_tags(resources_by_id) 95: } if id 96: 97: debug_benchmark("Performed resource comparison") { 98: compare_to_catalog(resources_by_id, list) 99: } 100: end