The scenario is this: developer needs, in an emergency situation, to edit a file that is normally under puppet control (it's a conf file for our java servlet engine). I'm not around to help out, he may not have root.
I'd fully want/expect this to generate a puppet error, at least in my case, though this should be an option I'd imagine. Again, basically like 'unless' on the exec type...or 'onlyif' but with a negative check.. On Jan 19, 1:37 pm, Nigel Kersten <nig...@google.com> wrote: > On Tue, Jan 19, 2010 at 1:21 PM, Scott Smith <sc...@ohlol.net> wrote: > > Trevor Vaughan wrote: > > >> Yes. But, in theory, this is a temporary measure. > > >> If it's not, then why are you managing that file in the first place? > > > I monitor puppetd errors with splunk, so this could cause someone to get > > paged =( > > > Good idea for those of us who don't, though :) > > > (If I see a feature request for this, I'll definitely upvote it.) > > It would be reasonably trivial to subclass the File type to not apply > changes if /path/to/file.notouch exists I think. > > I'm really torn about this though. Do you really want puppet thinking a > resource has been applied when it hasn't been? This complicates dependencies > an awful lot.... > > We've been considering it as a short-term band-aid for some situations, > where the notouch file only works for a given period of time. > > > > > > > > > -scott > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@google > > groups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/puppet-users?hl=en. > > -- > nigel
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.