From: Peter Palfrader Date: Wed, 2 Mar 2011 20:42:06 +0000 (+0100) Subject: We'll get there X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e1dde292c2467e94d733eb57d7a23cd999f1fdd8;p=mirror%2Fdsa-puppet.git We'll get there --- 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