From c927ce05bbd96fa9aacc8e52f8eb797403a1e433 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 9 Dec 2008 15:30:11 -0600 Subject: Renaming Puppet::ResourceReference to Puppet::Resource::Reference Signed-off-by: Luke Kanies --- lib/puppet/node/catalog.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/puppet/node') diff --git a/lib/puppet/node/catalog.rb b/lib/puppet/node/catalog.rb index f6c0a1959..bc522cc1e 100644 --- a/lib/puppet/node/catalog.rb +++ b/lib/puppet/node/catalog.rb @@ -368,12 +368,12 @@ class Puppet::Node::Catalog < Puppet::SimpleGraph # Always create a resource reference, so that it always canonizes how we # are referring to them. if title - ref = Puppet::ResourceReference.new(type, title).to_s + ref = Puppet::Resource::Reference.new(type, title).to_s else # If they didn't provide a title, then we expect the first # argument to be of the form 'Class[name]', which our # Reference class canonizes for us. - ref = Puppet::ResourceReference.new(nil, type).to_s + ref = Puppet::Resource::Reference.new(nil, type).to_s end @resource_table[ref] end -- cgit