# File lib/puppet/parser/relationship.rb, line 32
32:   def mk_relationship(source, target, catalog)
33:     unless source_resource = catalog.resource(source.to_s)
34:       raise ArgumentError, "Could not find resource '#{source}' for relationship on '#{target}'"
35:     end
36:     unless target_resource = catalog.resource(target.to_s)
37:       raise ArgumentError, "Could not find resource '#{target}' for relationship from '#{source}'"
38:     end
39:     Puppet.debug "Adding relationship from #{source.to_s} to #{target.to_s} with '#{param_name}'"
40:     source_resource[param_name] ||= []
41:     source_resource[param_name] << target.to_s
42:   end