Commit fc1d41e9 authored by Darren Patterson's avatar Darren Patterson
Browse files

fix for rh lsb pkg names

parent 23c7dc7d
release/004.016 (2015-01-23)
Another fix for lsb package names on RHEL. (darrenp1)
release/004.015 (2015-01-16)
Fix comments and class names to use underscore, not hyphens. (darrenp1)
......
......@@ -36,6 +36,7 @@ class base::os::redhat {
package {
'kernel-utils': ensure => present;
'slocate': ensure => present;
'lsb-release': ensure => present;
}
}
......@@ -59,6 +60,10 @@ class base::os::redhat {
}
}
if ($::lsbmajdistrelease == '5') {
package { 'redhat-lsb': ensure => present }
}
# RHEL4 and 5 need links to krb utils
case $::lsbmajdistrelease {
'4','5': {
......@@ -73,7 +78,6 @@ class base::os::redhat {
ensure => link,
target => '/usr/kerberos/bin/ksu';
}
package { 'lsb-release': ensure => present }
}
# RHEL6 just needs a link for fdformat since it moved to /usr/sbin
'6': {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment