diff options
| author | Luke Kanies <luke@madstop.com> | 2007-10-03 22:29:05 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-10-03 22:29:05 -0500 |
| commit | 35718437c40ab4228bd58eabf89728b7d0919e50 (patch) | |
| tree | 9685e3638ec3110599e0d83d876d4738f8667ff2 /lib/puppet/node | |
| parent | bb3b3cedf4082dc884e41b864fa755057d20e228 (diff) | |
| parent | fd11603fe47668ba72f0d3f2b984174331a0a154 (diff) | |
| download | puppet-35718437c40ab4228bd58eabf89728b7d0919e50.tar.gz puppet-35718437c40ab4228bd58eabf89728b7d0919e50.tar.xz puppet-35718437c40ab4228bd58eabf89728b7d0919e50.zip | |
Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet
Conflicts:
lib/puppet/defaults.rb
lib/puppet/dsl.rb
Diffstat (limited to 'lib/puppet/node')
| -rw-r--r-- | lib/puppet/node/configuration.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/puppet/node/configuration.rb b/lib/puppet/node/configuration.rb index 53f63d003..3571eecda 100644 --- a/lib/puppet/node/configuration.rb +++ b/lib/puppet/node/configuration.rb @@ -226,9 +226,10 @@ class Puppet::Node::Configuration < Puppet::PGraph raise Puppet::DevError, "Could not find 'main' class; cannot generate configuration" end - # Retrive the bucket for the top-level scope and set the appropriate metadata. + # Retrieve the bucket for the top-level scope and set the appropriate metadata. unless result = buckets[main.to_s] - raise Puppet::DevError, "Did not evaluate top scope" + # This only happens when the configuration is entirely empty. + result = buckets[main.to_s] = main.to_trans end result.classes = classes |
