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

micah anderson micah at riseup.net
Thu Mar 11 16:02:38 UTC 2010


On Thu, 11 Mar 2010 14:05:50 +0100, martin f krafft <madduck at debian.org> wrote:
> The idea comes from David Schmitt's common module, which creates
> /var/lib/puppet/modules/common to store stuff the module needs.
> I think it would make sense to create /var/lib/puppet/modules by the
> puppet package so that other modules can just drop their own
> directories in there without each and every one of them having to
> jump through hoops to ensure existence of the parent.

I think that the modules directory should only be created if Debian was
shipping modules as packages and they were using that directory, or if
debian would use that path in the config as a module path. 

if somebody uses modules_dir they should create that dir with puppet,
not with the package, afterall this is what puppet is for. not everyone
on Debian uses this approach, DavidS modules, while useful for people to
get going, are not used by every Debian user. 

For example, here is an alternative approach (one that is IMHO more cleaner):

http://www.devco.net/archives/2010/02/19/building_files_from_fragments_with_puppet.php

micah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20100311/b91bcfca/attachment.pgp>


More information about the Pkg-puppet-devel mailing list