The more I read all of this, the more I'm a fan of a MANUAL mode.

A file per environment $ENV_HEAD/clear_cache or something that, when
touched, will cause the cache to clear for that environment.

I also like the NONE option since, as was pointed out, dev/test
environments shouldn't be caching.

The others don't interest me all that much in general.

If the per environment option is used, I'd like to see an associated puppet
option to go with it.

# Clear the 'production' environment cache
puppet cache clear

# Clear the 'test' environment cache
puppet cache clear --env='test'

Thanks,

Trevor


On Tue, Apr 22, 2014 at 9:04 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:

> On 04/22/2014 02:59 PM, Henrik Lindberg wrote:
> > On 2014-22-04 8:06, Thomas Hallgren wrote:
> >> Would a MANUAL strategy make sense? I.e. instead of rebooting the
> >> master, just tell it to clear the cache (perhaps per environment).
> >>
> >> - thomas
> >>
> >
> > We discussed that - either as a command, or by touching a directory or
> > file. Maybe that is part of the commands that lets you modify the
> settings.
> >
> > We also discussed having MANUAL as the only option, but we ruled that
> > out as it would be too irritating when trying things out (i.e. better to
> > set NONE for the testing/dev environments).
> >
> > If people want a MANUAL strategy we can add one.
>
> If accidental cache clearing does not worry you, I feel that
> ENVDIRCHANGE *is* pretty much MANUAL.
>
> Felix
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/535668D8.4080902%40alumni.tu-berlin.de
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaug...@onyxpoint.com

-- This account not approved for unencrypted proprietary information --

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoXjgAj3-ujZizMK8XevqXPR8ZQS_GYJL_1Cx36MY36WQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to