Revision a62902c1
Added by Jason Montleon almost 10 years ago
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
Fixes #6139 - support RHEL 7