[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 23:17:02 UTC 2010
On Wed, Feb 24, 2010 at 02:48:44PM -0800, Russ Allbery wrote:
> Mathias Gug <mathiaz at ubuntu.com> writes:
>
> > 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.
>
> What templates specifically are we talking about here? If these are files
> installed by the package, they should be deleted on purge via a list of
> the specific files that might be installed.
Nope - there are not files installed by the package.
> If they're files that are
> installed as part of running Puppet, aren't they in the wrong location?
>
That's correct. Debian bug 484659 covers the reason for moving templates/ to
/etc/puppet/. It seems that manifests/, templates/ and files/ directories
should all be located under the same directory. The question seems to be
whether they should all be in /var/lib/puppet/ or /etc/puppet/.
Files located in these directories are site specific and are part of "running"
puppet. May be they should all be moved to /var/lib/puppet/?
--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com
More information about the Pkg-puppet-devel
mailing list