mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-10 04:50:34 +00:00
24 lines
488 B
Puppet
24 lines
488 B
Puppet
class fluentd::params {
|
|
$ensure = 'present'
|
|
|
|
$package_ensure = 'installed'
|
|
$package_name = 'td-agent'
|
|
$package_install_options = []
|
|
|
|
case $::osfamily {
|
|
'Debian': {
|
|
case $::operatingsystem {
|
|
'Ubuntu': {
|
|
$manage_repo = true
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::operatingsystem}")
|
|
}
|
|
}
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily}")
|
|
}
|
|
}
|
|
}
|