From 6b14000ae54a11da3fa16c1b4685f630abca869b Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 10 Dec 2008 15:39:27 -0600 Subject: Using Puppet::Resource to convert parser resources to RAL resources Signed-off-by: Luke Kanies --- lib/puppet/parser/resource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit