[Pkg-puppet-devel] Packaging puppet modules?

Stig Sandbeck Mathisen ssm at debian.org
Sat Aug 24 07:22:39 UTC 2013


Thomas Bechtold <thomasbechtold at jpberlin.de> writes:

> If we package more than one of "something" we could use the
> update-alternatives stuff or just put a "Conflicts" in the binary
> packages.

The Puppet Master provides environments, where one can use different
versions of modules at the same time. I do this on several
puppetmasters.

If we package one module as a directory in /usr/share/puppet/modules,
and we want to package module number two, module number one would need
to be changed.

There is currently just one "stdlib". There are, on the other hand, 7
modules providing "mysql", and 8 providing "apt". :)

Would it make sense to install the module "puppetlabs-apt" to
/usr/share/puppet/modules.available/puppetlabs-apt, and install a
symlink "/usr/share/puppet/modules/apt" pointing there, using the
alternatives system? 

It does for the "apt" and "mysql" modules. Not sure for "stdlib" yet,
but it would be nice and concistent. :)

>> There is no guarantee that "foo-something" and "bar-something"
>> actually does the same "something".
>> 
>> (This is more a problem to be fixed by the upstream, Puppet Labs, but
>> I would like to mention it here just in case someone has a solution,
>> or a workaround that can be used in Debian)
>
> Is there a bug report upstream about this issue?

Not sure if there is a bug. I've only seen discussions about it on the
puppet dev list, some time ago.

> btw: I requested to join the pkg-puppet team on alioth. As soon as I
> have access there, I'll move the packaging stuff from github to
> alioth.

As soon as one of the alioth pkg-puppet project admins add you. (Or me,
to the admin list. :)

-- 
Stig Sandbeck Mathisen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20130824/0f598aee/attachment.sig>


More information about the Pkg-puppet-devel mailing list