From 8ceb1f30496d89f883d9dfa00d5eab001dcd1450 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 9 Jun 2006 21:22:25 +0000 Subject: Found a bug where single-value selectors can fail on a second compile. Fixed it, and am now compiling all snippets twice. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1250 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/ast.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/puppet/parser/ast.rb') diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb index 4c5226108..6d84e6402 100644 --- a/lib/puppet/parser/ast.rb +++ b/lib/puppet/parser/ast.rb @@ -79,6 +79,9 @@ module Puppet error.line ||= @line error.file ||= @file error.backtrace = detail.backtrace + if Puppet[:debug] + puts detail.backtrace + end raise error end end -- cgit