[Puppet Users] In the catalog, /Settings[*] is what?

nicholas
Thu, 16 Jul 2009 19:06:13 -0000

I left my new puppetmasterd running last night.
came in with a stack trace below.

A number of questions:

1. Where did /Settings come from?

2. Is there a way to dump the contents of the catalog to understand?

3. I want to change the perms for all that stuff

4. puppetd is not running on this host, does puppetmasterd act like a
puppetd?


notice: Compiled catalog for inst01.corp.631h.metaweb.com in 0.20
seconds
notice: Reparsing /etc/puppet/puppet.conf
warning: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/
log/puppet]/owner: Cannot manage ownership unless running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/
lib/puppet/ssl]/owner: Cannot manage ownership unless running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[metrics]/File[/
var/lib/puppet/rrd]/owner: Cannot manage ownership unless running as
root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca]/owner: Cannot manage ownership unless running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/serial]/owner: Cannot manage ownership unless running as
root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/inventory.txt]/owner: Cannot manage ownership unless
running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/ca_crl.pem]/owner: Cannot manage ownership unless
running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/requests]/owner: Cannot manage ownership unless running
as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/signed]/owner: Cannot manage ownership unless running as
root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/private]/owner: Cannot manage ownership unless running
as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/private/ca.pass]/owner: Cannot manage ownership unless
running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/ca_crt.pem]/owner: Cannot manage ownership unless
running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/ca_pub.pem]/owner: Cannot manage ownership unless
running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[ca]/File[/var/lib/
puppet/ssl/ca/ca_key.pem]/owner: Cannot manage ownership unless
running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/
File[/var/lib/puppet/bucket]/owner: Cannot manage ownership unless
running as root
warning: /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/
File[/var/log/puppet/masterhttp.log]/owner: Cannot manage ownership
unless running as root
err: /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/
etc/puppet/manifests]/ensure: change from absent to directory failed:
Could not set directory on ensure: Permission denied - /etc/puppet/
manifests
warning: /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/
File[/var/lib/puppet/yaml]/owner: Cannot manage ownership unless
running as root
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:748:in `use'': Got
1 failure(s) while initializing: change from absent to directory
failed: Could not set directory on ensure: Permission denied - /etc/
puppet/manifests (RuntimeError)
	from /usr/lib/ruby/site_ruby/1.8/puppet/node/catalog.rb:136:in
`apply''
	from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:744:in `use''
	from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize''
	from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:724:in `use''
	from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:531:in
`reuse''
	from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:529:in
`each''
	from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:529:in
`reuse''
	from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize''
	 ... 12 levels...
	from /usr/lib/ruby/site_ruby/1.8/puppet/external/event-loop/event-
loop.rb:116:in `iterate''
	from /usr/lib/ruby/site_ruby/1.8/puppet/external/event-loop/event-
loop.rb:107:in `run''
	from /usr/lib/ruby/site_ruby/1.8/puppet.rb:320:in `start''
	from /usr/sbin/puppetmasterd:285
[root@inst01.corp.631h puppet]# puppetmasterd --no-daemon --verbose