summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-11-12 10:09:05 -0600
committerLuke Kanies <luke@madstop.com>2007-11-12 10:09:05 -0600
commit47a26054fea97641aebb3906ca7416a982f4c0d5 (patch)
tree5ce81198f1789c2194c2f6f3609badfb77e76f2b /lib/puppet
parenta4e8f1ca2cc6c1257e4dae0f32e24ff71aa94eea (diff)
downloadpuppet-47a26054fea97641aebb3906ca7416a982f4c0d5.tar.gz
puppet-47a26054fea97641aebb3906ca7416a982f4c0d5.tar.xz
puppet-47a26054fea97641aebb3906ca7416a982f4c0d5.zip
Changing the 'main' class to no longer be lazy-evaluated.
It was getting evaluated after node classes, which caused even stranger ordering issues.
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/compile.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/compile.rb b/lib/puppet/parser/compile.rb
index f23b42a35..3083f4849 100644
--- a/lib/puppet/parser/compile.rb
+++ b/lib/puppet/parser/compile.rb
@@ -318,6 +318,8 @@ class Puppet::Parser::Compile
@configuration.add_vertex!(@main_resource)
@resource_table["Class[main]"] = @main_resource
+
+ @main_resource.evaluate
end
# Make sure the entire configuration is evaluated.