[Puppet Users] Re: Silent failure

Tim Uckun
Mon, 07 Sep 2009 00:23:11 -0000

> 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
>


I have spent the entire morning trying to sort this out and got it
working but with errors.

Every time I run the client I get the following error

err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: Could not retrieve information from source(s)
puppet://tim-laptop.panztel.local/plugins

I have the plugins directory and I have it specified in the
fileserver.conf like this

[plugins]
  path /usr/local/home/tim/puppet/etc/plugins
  allow *

of course if I turn off "pluginsync=true" in the config file I
don''t get that.


I am also getting lots of debug messages like this .


debug: Puppet::Network::Format[json]: false value when expecting true
debug: Format s not supported for Puppet::FileServing::Metadata; has
not implemented method ''from_s''
debug: Puppet::Network::Format[json]: false value when expecting true
debug: Format s not supported for Puppet::FileServing::Metadata; has
not implemented method ''from_s''

The good news is that the DIR_COLORS is showing up and with the proper
content whether it comes from templates or the files directory (YEA!).