[Pkg-puppet-devel] Bug#573430: Bug#573430: Bug#573430: provide $vardir/modules
nigel at explanatorygap.net
Fri Mar 12 16:56:55 UTC 2010
2010/3/12 Mathias Gug <mathiaz at ubuntu.com>:
> On Fri, Mar 12, 2010 at 09:56:43AM +0100, martin f krafft wrote:
>> also sprach Mathias Gug <mathiaz at ubuntu.com> [2010.03.11.1731 +0100]:
>> > Micah suggested something similar in bug 571129 . In bug 571130
>> >  I raised the question on whether modules/ (and templates/ and
>> > files/) should be located in /var/lib/puppet/ or /etc/puppet. It
>> > seems to me that all of these directories should be located in the
>> > same place.
>> I disagree. Configuration files — and templates are such — should
>> live in /etc, and files dynamically created and modified by puppet
>> should be in /var/lib.
>> /var/lib/puppet/modules is simply a canonical location to give
>> modules space for dyanmically managed files.
> IIRC modules/ are actually puppet classes, manifests, files and templates.
> They're *not* dynamically generated by puppet when compiling a manifest.
> They're put in place by the system administrator from various ressources
> (either repositories checkouts or by writing modules himself).
> According to the definition above modules/ should be in /etc/ then.
I find myself conflicted over this.
Strictly speaking /etc/ seems like the more appropriate location, but
on the other hand, the module configuration feels very much analogous
to apache virtual hosts in /var/www/ ....
> Mathias Gug
> Ubuntu Developer http://www.ubuntu.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> -----END PGP SIGNATURE-----
> Pkg-puppet-devel mailing list
> Pkg-puppet-devel at lists.alioth.debian.org
More information about the Pkg-puppet-devel