# File lib/puppet/rails/host.rb, line 179 179: def perform_resource_merger(compiled, resources) 180: return compiled.values if resources.empty? 181: 182: # Now for all resources in the catalog but not in the db, we're pretty easy. 183: additions = [] 184: compiled.each do |ref, resource| 185: if db_resource = resources[ref] 186: db_resource.merge_parser_resource(resource) 187: else 188: additions << resource 189: end 190: end 191: log_accumulated_marks "Resource merger" 192: 193: additions 194: end