mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
600970d5df
configures the fluentd (td-agent) service
15 lines
286 B
Puppet
15 lines
286 B
Puppet
# Configure package
|
|
#
|
|
class fluentd::service inherits fluentd {
|
|
|
|
if $service_manage {
|
|
service { 'fluentd':
|
|
name => $service_name,
|
|
ensure => $service_ensure,
|
|
enable => $service_enable,
|
|
hasstatus => true,
|
|
hasrestart => true,
|
|
}
|
|
}
|
|
}
|