[Puppet Users] Re: Silent failure

Andrew Shafer
Mon, 07 Sep 2009 06:53:53 -0000

If you turn off pluginsync = true, does it work? or you just don''t get
that message?

What version of Ruby are you running?




On Sun, Sep 6, 2009 at 6:23 PM, Tim Uckun<timuckun@gmail.com>
wrote:
>
>> 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!).
>
> >