1. Pasted the node declarations above into an empty manifests/
nodes.pp.
2. Added 'import "nodes"' after 'import "base"' in site.pp.
3. Ran --parseonly and then --noop (output below). Broke both ways.
4. For fun, put the node declarations back in site.pp and commented
out the nodes import.
5. -d --parseonly ran without error messages, but --noop showed an
identical stack trace, so the problem may not have anything to do with
the importing.
That helped a bit, though I'm still baffled as to what I'm doing
wrong.
$ puppet -d --parseonly conf/manifests/site.pp
debug: importing 'conf/manifests/base.pp'
debug: importing 'conf/manifests/nodes.pp'
err: Could not parse for environment development: Could not match
'node' at conf/manifests/nodes.pp:2
$ puppet -d --noop conf/manifests/site.pp
/usr/lib/ruby/1.8/resolv.rb:299:in `open': can't convert nil into
String (TypeError)
from /usr/lib/ruby/1.8/resolv.rb:299:in `lazy_initialize'
from /usr/lib/ruby/1.8/resolv.rb:295:in `synchronize'
from /usr/lib/ruby/1.8/resolv.rb:295:in `lazy_initialize'
from /usr/lib/ruby/1.8/resolv.rb:337:in `each_address'
from /usr/lib/ruby/1.8/resolv.rb:244:in `each_address'
from /usr/lib/ruby/1.8/resolv.rb:243:in `each'
from /usr/lib/ruby/1.8/resolv.rb:243:in `each_address'
from /usr/lib/ruby/1.8/resolv.rb:227:in `getaddress'
... 14 levels...
from /usr/lib/ruby/gems/1.8/gems/puppet-0.24.4/lib/puppet/
indirector.rb:
42:in `find'
from /usr/lib/ruby/gems/1.8/gems/puppet-0.24.4/bin/puppet:185
from /usr/bin/puppet:19:in `load'
from /usr/bin/puppet:19
On Jun 24, 3:59 pm, "Evan Hisey" <
ehi...@gmail.com> wrote:
> On Tue, Jun 24, 2008 at 2:46 PM, steve koppelman
>