From e1dde292c2467e94d733eb57d7a23cd999f1fdd8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 Mar 2011 21:42:06 +0100 Subject: [PATCH] We'll get there --- modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb index 957af7429..28da4aea4 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb @@ -53,7 +53,7 @@ module Puppet::Parser::Functions return(nodeinfo) rescue => e - raise Puppet::ParseError, "Error in nodeinfo for node #{host}, yamlfile #{yamlfile}" + raise Puppet::ParseError, "Error in nodeinfo for node #{host}, yamlfile #{yamlfile}: #{e.message}\n#{e.backtrace}" end end end -- 2.20.1