# File lib/puppet/rails/host.rb, line 147
147:     def merge_resources(list)
148:         # keep only exported resources in thin_storeconfig mode
149:         list = list.select { |r| r.exported? } if Puppet.settings[:thin_storeconfigs]
150: 
151:         resources_by_id = nil
152:         debug_benchmark("Searched for resources") {
153:             resources_by_id = find_resources()
154:         }
155: 
156:         debug_benchmark("Searched for resource params and tags") {
157:             find_resources_parameters_tags(resources_by_id)
158:         } if id
159: 
160:         debug_benchmark("Performed resource comparison") {
161:             compare_to_catalog(resources_by_id, list)
162:         }
163:     end