On Tue, 17 May 2011 15:18:16 +0200, Eric Veiras Galisson <[email protected]> 
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.

Attachment: pgpryDtURLnev.pgp
Description: PGP signature

Reply via email to