On Wed, Feb 24, 2010 at 05:32:31PM -0500, Mathias Gug wrote: > On Wed, Feb 24, 2010 at 01:35:35PM -0800, Russ Allbery wrote: > > Mathias Gug <math...@ubuntu.com> writes: > > > > > 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). > > > > Right, which is why you remove all files owned by the package. But rm -rf > > of the entire directory goes beyond that. I think purge should rm -f each > > file in /etc/puppet that is installed by the package, and then remove the > > /etc/puppet directory if it's empty. > > > > Considering that puppet templates are stored under /etc/puppet/templates/ > purging the puppet-common package would *not* remove the local templates. Upon > package re-installation the old templates files would still be around - > defeating the intent of purging a package in order to start a new > configuration > from scratch. >
Do the templates need to be in /etc/templates? I think that was a change in behaviour between the Ubuntu package and the Debian package. regards Andrew
signature.asc
Description: Digital signature