[Pkg-puppet-devel] Bug#627069: puppet: Puppet agent installation should install package lsb-release
micah anderson
micah at riseup.net
Tue May 17 14:58:52 UTC 2011
On Tue, 17 May 2011 15:18:16 +0200, Eric Veiras Galisson <bugs at sietch-tabr.com> wrote:
> When using modules with Puppet, they are often done to deal with several
> Linux distributions and several Debian releases. This can be used to
> deal with different services names (like 'apache' is 'httpd' on
> redhat-like) or package names.
> For example the 'mailx' package is now named 'bsd-mailx' on squeeze and
> later.
>
> The problem is Puppet uses the function lsb_release from the lsb-release
> package which is not installed by default on Debian.
>
> Can it be possible to add the 'lsb-release' package to the puppet
> dependencies?
This is not a core function of puppet, and bloating the dependencies
is not a good idea.
Just use a lsb module:
cd modules; git clone git://labs.riseup.net/shared-lsb
and then do:
import "lsb"
include lsb
in your site.pp, or common.pp, or modules.pp or whatever you use.
-------------- 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/20110517/0efb5932/attachment-0001.pgp>
More information about the Pkg-puppet-devel
mailing list