[Pkg-puppet-devel] Bug#573430: Bug#573430: Bug#573430: provide $vardir/modules

Nigel Kersten 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 [1]. In bug 571130
>> > [2] 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.
>>
>
> Agreed.
>
>> /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)
>
> iEYEARECAAYFAkuabhcACgkQM0thG+z3pVjmkwCg5BeMoK60JMTKAZgv/fE7rzm7
> n/AAoNPVSdKOoqtoqteMWySf/KeOZnHh
> =vKmt
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Pkg-puppet-devel mailing list
> Pkg-puppet-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-puppet-devel
>
>





More information about the Pkg-puppet-devel mailing list