[Pkg-puppet-devel] Bug#571130: Bug#571130: puppet-common: Package purge should remove all puppet directories

Mathias Gug mathiaz at ubuntu.com
Wed Feb 24 21:30:01 UTC 2010


On Wed, Feb 24, 2010 at 12:43:31PM -0800, Russ Allbery wrote:
> Mathias Gug <mathiaz at ubuntu.com> writes:
> > On Tue, Feb 23, 2010 at 04:16:29PM -0800, Russ Allbery wrote:
> 
> >> This is arguably a Debian policy violation because it would delete any
> >> other local administrator configuration files in /etc/puppet.
> 
> > Section 10.7.3 mentions:
> >  * configuration files must be preserved when the package is removed,
> >  and only deleted when the package is purged.
> 
> That's the arguable part.  I don't know of anything in Policy that
> specifically says that you can't do this, but deleting files in /etc that
> aren't owned by the package seems obviously contrary to the spirit of the
> Policy rules around handling configuration files to me.
> 

Agreed - that's the point of view of never ever delete a file created by the
user. OTOH by purging a package one may want to start a new configuration from
scratch in a well-known state (which means that there aren't any files left
over from a previous package installation).


-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com





More information about the Pkg-puppet-devel mailing list