puppet-foreman/manifests/plugin/tasks/params.pp @ a64c58e8
a64c58e8 | Dominic Cleal | # Data for the foreman-tasks plugin
|
|
class foreman::plugin::tasks::params {
|
|||
case $::osfamily {
|
|||
'RedHat': {
|
|||
$service = 'foreman-tasks'
|
|||
case $::operatingsystem {
|
|||
'fedora': {
|
|||
$package = 'rubygem-foreman-tasks'
|
|||
}
|
|||
default: {
|
|||
$package = 'tfm-rubygem-foreman-tasks'
|
|||
}
|
|||
}
|
|||
}
|
|||
'Debian': {
|
|||
$package = 'ruby-foreman-tasks'
|
|||
$service = 'ruby-foreman-tasks'
|
|||
}
|
|||
default: {
|
|||
fail("${::hostname}: foreman-tasks does not support osfamily ${::osfamily}")
|
|||
}
|
|||
}
|
|||
}
|