Using an empty site.pp and no modules, puppetmasterd fails to compile configurations with this error message: err: Did not evaluate top scope
Trace:
/tests/puppet-trunk//lib/puppet/node/configuration.rb:87:in `extract_to_transportable'
/tests/puppet-trunk//lib/puppet/node/configuration.rb:35:in `send'
/tests/puppet-trunk//lib/puppet/node/configuration.rb:35:in `extract'
/tests/puppet-trunk//lib/puppet/network/handler/master.rb:87:in `getconfig'
/usr/share/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:147:in `to_proc'
/tests/puppet-trunk//lib/puppet/network/xmlrpc/processor.rb:52:in `call'
[....]
The pertaining code
# Retrive 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" # line 87
end
Where "main.to_s" evaluates to "Class[main]". Additionally I have played
around a bit with the "edges" proc, but even adding a "puts" to the beginning
of this function didn't lead to any output. Which leads me to suspect that there
is no configuration generated at all. Putting a node definition into the site.pp
didn't change anything though. After much experimentation, I found that a site.pp with top-level resources defined do work.