This sort of thing works satisfactorily if cumbersomely for me:
case $::operatingsystemrelease {
/^5/: {
}
/^6/: {
}
}
On Fri, Feb 03, 2012 at 04:57:34PM +0000, Dick Davies wrote:
> Just started a rollout of centos 6.x across our Puppet deployment
> (100-odd servers).
>
> what fact would people suggest I use to distinguish 5.x from 6.x
> (quite a lot of subsystems are different between major releases)?
>
> lsb* facts don't seem to be present on centos 6 - is this an EPEL bug,
> or have they
> just been removed in Facter?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.