1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-14 14:00:36 +00:00
puppet-fluentd/manifests/params.pp

34 lines
767 B
ObjectPascal
Raw Permalink Normal View History

class fluentd::params {
# package params
2015-11-30 16:04:14 +00:00
$package_ensure = 'installed'
$package_name = 'td-agent'
$package_install_options = []
# service params
$service_manage = true
$service_name = 'td-agent'
$service_ensure = 'running'
$service_enable = true
# config params
$config_path = '/etc/td-agent'
$conf_dir = "${config_path}/conf.d"
$conf_dir_manage = false
$config_file = "${config_path}/td-agent.conf"
# user params
$user_manage = true
$user_name = 'td-agent'
$user_group = 'td-agent'
$user_groups = ['adm']
case $::osfamily {
'Debian': {
2016-01-22 23:32:29 +00:00
$repo_manage = true
}
'Redhat': {
$repo_manage = true
}
default: {
fail("Unsupported osfamily: ${::osfamily}")
}
}
}