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/parser/ast/resource_defaults.rb | 2 +- lib/puppet/parser/collector.rb | 2 +- lib/puppet/parser/resource/reference.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/ast/resource_defaults.rb b/lib/puppet/parser/ast/resource_defaults.rb index 4919817fb..ed83d3573 100644 --- a/lib/puppet/parser/ast/resource_defaults.rb +++ b/lib/puppet/parser/ast/resource_defaults.rb @@ -12,7 +12,7 @@ class Puppet::Parser::AST # object type. def evaluate(scope) # Use a resource reference to canonize the type - ref = Puppet::ResourceReference.new(@type, "whatever") + ref = Puppet::Resource::Reference.new(@type, "whatever") type = ref.type params = @params.safeevaluate(scope) diff --git a/lib/puppet/parser/collector.rb b/lib/puppet/parser/collector.rb index 0f9072510..fb7d95c52 100644 --- a/lib/puppet/parser/collector.rb +++ b/lib/puppet/parser/collector.rb @@ -35,7 +35,7 @@ class Puppet::Parser::Collector @scope = scope # Canonize the type - @type = Puppet::ResourceReference.new(type, "whatever").type + @type = Puppet::Resource::Reference.new(type, "whatever").type @equery = equery @vquery = vquery diff --git a/lib/puppet/parser/resource/reference.rb b/lib/puppet/parser/resource/reference.rb index cb505d606..e552b51fe 100644 --- a/lib/puppet/parser/resource/reference.rb +++ b/lib/puppet/parser/resource/reference.rb @@ -1,7 +1,7 @@ -require 'puppet/resource_reference' +require 'puppet/resource/reference' # A reference to a resource. Mostly just the type and title. -class Puppet::Parser::Resource::Reference < Puppet::ResourceReference +class Puppet::Parser::Resource::Reference < Puppet::Resource::Reference include Puppet::Util::MethodHelper include Puppet::Util::Errors -- cgit