mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-10 04:50:34 +00:00
20 lines
357 B
ObjectPascal
20 lines
357 B
ObjectPascal
|
class fluentd::params {
|
||
|
$ensure = 'present'
|
||
|
|
||
|
case $::osfamily {
|
||
|
'Debian': {
|
||
|
case $::operatingsystem {
|
||
|
'Ubuntu': {
|
||
|
$manage_repo = true
|
||
|
}
|
||
|
default: {
|
||
|
fail("Unsupported osfamily: ${::operatingsystem}")
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
default: {
|
||
|
fail("Unsupported osfamily: ${::osfamily}")
|
||
|
}
|
||
|
}
|
||
|
}
|