[Puppet-users] "Found a bug" message when purging services

Luke Kanies luke at madstop.com
Tue Jan 23 15:32:15 CST 2007


On Jan 23, 2007, at 2:24 PM, Trevor Vaughan wrote:

> Ah, that makes sense.
>
> What I had assumed, and was testing, was that all services not  
> defined would be stopped.  That way I didn't have to know all of  
> the services that might be installed to only start the ones that I  
> wanted.

Do others think this is reasonable behaviour?

If so, I might make 'purge' accept multiple values, with 'true' being  
equivalent to 'absent', and anything else being the value sent on to  
the resources.  E.g., you could then do:

   resources { service: purge => stopped }

to stop all unmanaged services.

The 'purge' name starts to be a bit weird here, but eh.

  --
  On Bureaucracy....
          The Pythagorean theorem contains 24 words. Archimedes
  Principle, 67.  The Ten Commandments, 179. The American Declaration of
  Independence, 300. And recent legislation in Europe concerning when
  and where to smoke, 23,942.      -- The European, June 23-29, 1995
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com




More information about the Puppet-users mailing list