[Puppet Users] Re: Silent failure

Andrew Shafer
Sun, 06 Sep 2009 19:39:05 -0000

>
> 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")
>        }
> }
>

If you are running with --noop, puppet shouldn''t do anything.

I''d also delete ''ensure => file,'', which might be
confusing things as well.

Try running with --no-daemonize which will explicitly give you logs on
stdout. That will at least give us the output when the file resource
is evaluated on the client.

Try this and put the relevant output in a gist or pastie if you are
still having issues:
puppetd --server myserver.com --no-daemonize --onetime --debug --trace