summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/resource.rb')
-rw-r--r--lib/puppet/parser/resource.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/resource.rb b/lib/puppet/parser/resource.rb
index 75c885b61..12c1a8f52 100644
--- a/lib/puppet/parser/resource.rb
+++ b/lib/puppet/parser/resource.rb
@@ -327,8 +327,8 @@ class Puppet::Parser::Resource
# Convert this resource to a RAL resource. We hackishly go via the
# transportable stuff.
- def to_type
- to_resource.to_type
+ def to_ral
+ to_resource.to_ral
end
private