Revision 7a19261e
Added by Eric Helms about 4 years ago
manifests/params.pp | ||
---|---|---|
|
||
# Additional software repos
|
||
$configure_epel_repo = ($::osfamily == 'RedHat' and $::operatingsystem != 'Fedora')
|
||
# Only configure extra SCL repos on EL
|
||
$configure_scl_repo = ($::osfamily == 'RedHat' and $::operatingsystem != 'Fedora')
|
||
|
||
# Advanced configuration
|
||
# this can be a version or nightly
|
||
... | ... | |
$passenger_ruby = undef
|
||
$passenger_ruby_package = undef
|
||
$plugin_prefix = 'rubygem-foreman_'
|
||
$configure_scl_repo = false
|
||
} else {
|
||
$passenger_ruby = '/usr/bin/tfm-ruby'
|
||
$passenger_ruby_package = 'tfm-rubygem-passenger-native'
|
||
$plugin_prefix = 'tfm-rubygem-foreman_'
|
||
$configure_scl_repo = true
|
||
}
|
||
}
|
||
'Debian': {
|
||
$passenger_ruby = '/usr/bin/foreman-ruby'
|
||
$passenger_ruby_package = undef
|
||
$plugin_prefix = 'ruby-foreman-'
|
||
$configure_scl_repo = false
|
||
}
|
||
'Linux': {
|
||
case $::operatingsystem {
|
||
... | ... | |
$passenger_ruby = '/usr/bin/tfm-ruby'
|
||
$passenger_ruby_package = 'tfm-rubygem-passenger-native'
|
||
$plugin_prefix = 'tfm-rubygem-foreman_'
|
||
$configure_scl_repo = true
|
||
}
|
||
default: {
|
||
fail("${::hostname}: This module does not support operatingsystem ${::operatingsystem}")
|
Also available in: Unified diff
Only install foreman-release-scl on CentOS EL 7