summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/resource.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-10 15:39:27 -0600
committerLuke Kanies <luke@madstop.com>2008-12-18 11:10:22 -0600
commit6b14000ae54a11da3fa16c1b4685f630abca869b (patch)
tree236f1368e876279e7f614ec43b949d6288af02c4 /lib/puppet/parser/resource.rb
parente3b1590f57a18b89c5f97ca0aa8e8d2bd9187b58 (diff)
downloadpuppet-6b14000ae54a11da3fa16c1b4685f630abca869b.tar.gz
puppet-6b14000ae54a11da3fa16c1b4685f630abca869b.tar.xz
puppet-6b14000ae54a11da3fa16c1b4685f630abca869b.zip
Using Puppet::Resource to convert parser resources to RAL resources
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/parser/resource.rb')
-rw-r--r--lib/puppet/parser/resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/resource.rb b/lib/puppet/parser/resource.rb
index 7dec02b1f..75c885b61 100644
--- a/lib/puppet/parser/resource.rb
+++ b/lib/puppet/parser/resource.rb
@@ -328,7 +328,7 @@ class Puppet::Parser::Resource
# Convert this resource to a RAL resource. We hackishly go via the
# transportable stuff.
def to_type
- to_trans.to_type
+ to_resource.to_type
end
private