Hi, first thank you for all your answers :)

I also dislike using cache on production, but if a node can not reach the 
master it should still be able to enforce the configuration it already 
received from the master.
I tried several options on puppet.conf from the node




*usecacheonfailure=trueuse_cached_catalog=trueignorecache=false*
But I always get this error when running the puppet agent:



*Error: Failed to apply catalog: A connection attempt failed because the 
connected party did notproperly respond after a period of time, or 
established connection failed because connected host has failed to respond. 
- connect(2)*


Any ideas?

Thank you.

Armindo

On Wednesday, November 27, 2013 10:03:49 AM UTC, R.I. Pienaar wrote:
>
>
>
> ----- Original Message ----- 
> > From: "Felix Frank" <[email protected] <javascript:>> 
> > To: [email protected] <javascript:> 
> > Sent: Wednesday, November 27, 2013 10:00:37 AM 
> > Subject: Re: [Puppet Users] Is it possible to puppet agent applies the 
> config even when puppet master is unreachable? 
> > 
> > On 11/24/2013 11:17 PM, Jo Rhett wrote: 
> > > You want 
> > > this: 
> > > 
> http://docs.puppetlabs.com/references/latest/configuration.html#usecacheonfailure
>  
> > 
> > +1 
>
> this will most likely not have the desired effect as the cache does not 
> include files 
> so those will fail. 
>
> worse the cache can open you to really nasty edge cases where you have a 
> catalog compiled 
> for one set of manifests+files but if its reused later you might be 
> getting files from 
> a newer code base which will really spoil your day. 
>
> The static catalog compiler thing will help with some of this - though 
> still not for 
> a offline master - but it has many bugs and questionable implementation 
> mechanics :( 
>
> You really want to think very very carefully before using the cache in 
> production. 
> I'd say this option should be off by default 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c007e54f-9848-4382-908a-e9d229bb44d8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to