Project

General

Profile

« Previous | Next » 

Revision a62902c1

Added by Jason Montleon almost 10 years ago

Fixes #6139 - support RHEL 7

View differences:

manifests/params.pp
# Candlepin params
class candlepin::params {
case $::operatingsystem {
'Fedora': {
$tomcat = 'tomcat'
}
default: {
$tomcat = 'tomcat6'
$tomcat = $::osfamily ? {
/^(RedHat|Linux)/ => $::operatingsystem ? {
'Fedora' => 'tomcat',
default => $::operatingsystemrelease ? {
/^7\./ => 'tomcat',
default => 'tomcat6'
}
}
}

Also available in: Unified diff