diff options
Diffstat (limited to 'lib/puppet/parser')
| -rw-r--r-- | lib/puppet/parser/ast/resource_defaults.rb | 2 | ||||
| -rw-r--r-- | lib/puppet/parser/collector.rb | 2 | ||||
| -rw-r--r-- | lib/puppet/parser/resource/reference.rb | 4 |
3 files changed, 4 insertions, 4 deletions
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 |
