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

Mathias Gug mathiaz at ubuntu.com
Fri Mar 12 16:38:47 UTC 2010


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.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20100312/b2ddc581/attachment.pgp>


More information about the Pkg-puppet-devel mailing list