On 10/21/2010 05:33 PM, Martin Langhoff wrote:
> On Thu, Oct 21, 2010 at 4:56 AM, Felix Frank
> <felix.fr...@alumni.tu-berlin.de> wrote:
>> I guess what you're getting at is this: No, puppet is not exactly good
>> at "uninstall this now and from then on, don't care about it anymore".
>> This is not what puppet has been conceived for, though.
> 
> OK - but putting (config) files into place is most of what we do with it 
> right?
> 
> We need to be able to manage them after putting them there, and that
> includes removing them.

Managing whole config files is not puppet's strong suit at all. Puppet
strives to implement as many providers as possible in order to keep you
from the need to copy files to your nodes. Copying is actually a crude
workaround from a designer's perspective.

Theory aside, it's what most people use it for. But puppet is not
supposed to be the ultimate file roller. In some cases, you may want to
use a packaging system instead, or even a source control mechanism.

>> If you're on the purge train, you won't want your package manager to
>> interfere with your conf.d directories. Instead, puppet will need the
>> whole picture of what should be in the conf.d.
>>
>> Most puppet providers (package, host, mount, cron etc.) strive to do the
>> opposite, and amend to a given state. Purge is a way to switch
>> paradigms. If you choose to do that, be prepared to deal with the
>> consequences.
> 
> Can you flesh out what other consequences you see?

None, *you* were the one complaining that purge and dpkg-controlled
conf.d contents won't cooperate ;-)

Seriously though, this is a matter of both taste and pragmatic choice
you have to take based on the requirements at hand.

Regards,
Felix

-- 
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.

Reply via email to