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

martin f krafft madduck at debian.org
Fri Mar 12 21:07:22 UTC 2010


also sprach micah anderson <micah at debian.org> [2010.03.12.2036 +0100]:
> The second is dynamically generated file concatentation bits that are
> created by a module, and then assembled into a configuration file. These
> are typically done in /var/lib/puppet/modules, at least if you are using
> this method that DavidS uses. I dont think that this directory should be
> created by the package.

Almost: these are typically done in
/var/lib/puppet/modules/$MODULENAME, and since puppet's file type
does not create parent directories, no module can really ever use
/var/lib/puppet/modules/$MODULENAME unless it can rely on
/var/lib/puppet/modules to be there. So unless the admin (or the
Debian package) creates the directory, each module has to jump
through hoops[0] before being able to use the directory, because of
the stupid puppet limitation that an instance cannot be multiply
defined.

Right now, DavidS' common module creates the parent, which means
I'll either have to require the common module, or conflict with it,
but I cannot merely supplement it.

0. e.g. exec { "mkdir --parent /var/lib/puppet/modules" }

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"most people become bankrupt through having invested too heavily in
 the prose of life. to have ruined one's self over poetry is an
 honour."
                                                        -- oscar wilde
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20100312/1e9e04d2/attachment.pgp>


More information about the Pkg-puppet-devel mailing list