[Pkg-puppet-devel] Bug#627069: puppet: Puppet agent installation should install package lsb-release
Eric Veiras Galisson
bugs at sietch-tabr.com
Tue May 17 17:18:03 UTC 2011
Le 17/05/2011 16:58, micah anderson a écrit :
> 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.
>
I thought it was.
> 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.
>
>
Thanks for your quick answer and the link to this lsb module. I'll look
at it
This bug can be closed.
More information about the Pkg-puppet-devel
mailing list