From 1bcca319521987f5b7aa94ef16d3b3f0d41bde7f Mon Sep 17 00:00:00 2001 From: luke Date: Mon, 9 Jul 2007 00:06:13 +0000 Subject: Fixing #687. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2662 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/interpreter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb index 11f5aa15d..bdb49da4c 100644 --- a/lib/puppet/parser/interpreter.rb +++ b/lib/puppet/parser/interpreter.rb @@ -28,7 +28,7 @@ class Puppet::Parser::Interpreter # Then evaluate the classes. begin - options[:scope].function_include(classes) + options[:scope].function_include(classes.find_all { |c| options[:scope].findclass(c) }) rescue => detail raise Puppet::ParseError, "Could not evaluate classes for %s: %s" % [name, detail] end -- cgit