[Puppet Users] Re: Silent failure

Tim Uckun
Sun, 06 Sep 2009 09:07:20 -0000

>>
> As long as you are on a recent version there is an ''err''
tag, which you
> can use in conjunction with tagmail to mail you any  errors. I send mine
> to a distribution group that ends up going to my team mates.
>

I didn''t see anything in the documentation about this but I''ll
see if
I can track it down.

Unfortunately this won''t fix my current problem which is that things
are not working and there are no errors. I tried running the
puppetmasterd with --no-daemon --debug and the client with every
switch I can think of but I don''t see an error anywhere.

I made a purposeful error in the configuration to make sure the class
was being run and I got an error message. Supposedly the script is
being run but the end result of the script doesn''t exist. Here is the
class.

class bash{
		file { "dir_colors" :

			mode => 644,
			owner => root,
			group => root,
		   ensure => file,
			path => "/etc/DIR_COLORS",
			#source => "puppet://$fileserver/bash/dir_colors"
			content => template("bash/templates/dir_colors")
	}
}

Presumably I have made some sort of a mistake here and that''s why the
DIR_COLORS file doesn''t show up like it should.

Maybe I made a mistake in my paths, maybe I made a mistake with the
filebucket, maybe I have a syntax error in there someplace. maybe it
can''t find the file or something.

It doesn''t tell me what mistake I am making.  That''s the
frustrating bit.