On Jan 26, 2011, at 8:27 AM, DEGREMONT Aurelien wrote:

> Nigel Kersten a écrit :
>> On Mon, Jan 24, 2011 at 12:27 AM, DEGREMONT Aurelien
>> <aurelien.degrem...@cea.fr> wrote:
>> 
>>  
>>> Please take care that, for my site, and I think other ones,
>>> 
>>> puppetd -t
>>> 
>>> is *the* way to run puppet.
>>> We never use puppetd in daemonized mode, and manual runs puppet when needed
>>> with -t option.
>>>    
>> 
>> You shouldn't be doing this. If you're running puppet agent out of
>> cron, you should do something like:
>> 
>> puppetd --onetime --no-daemonize
>> 
>> and not bring in all the ignoring of cache settings that --test does.
>>  
> I do want to ignorecache.
> If someone is launching a puppet run, it wants to have the current manifest 
> being taken in account or fail if it cannot be reached.
> Local caching of catalogs for puppetd is something we really do not want to 
> use.
> (but this is useful for other scripts we have written based on a 
> R.I.Pienaar's script. We should push this on a mailing list one day)

You probably want --no-usecacheonfailure instead which will do what you want, 
but not recopy the catalog of the version on the server is the same as what's 
on the client.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to