1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-20 04:30:36 +00:00
puppet-fluentd/manifests/params.pp

24 lines
488 B
ObjectPascal
Raw Normal View History

class fluentd::params {
2015-11-30 16:04:14 +00:00
$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}")
}
}
}