On Fri, Oct 21, 2011 at 2:35 AM, Gonzalo Servat <gser...@gmail.com> wrote:

> Hi All,
>
> In the example42 modules, I noticed the following is done:
>
> # Calculate OS version (without using lsb facts)
>     $ossplit=split($operatingsystemrelease, '[.]')
>     $osver=$ossplit[0]
>
> I've been using $lsbmajdistrelease in all my configs. Is there any
> particular reason why I might want to use the above instead? (apart from the
> dependency on redhat-lsb, which is always installed)
>
>
Minimal installs may not have the required lsb packages.

I believe they pull in a huge amount of dependencies, like X libs, cups, etc
etc on a bunch of platforms, so some people don't have them available.


-- 
Nigel Kersten
Product Manager, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to