mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 13:20:35 +00:00
15 lines
330 B
Puppet
15 lines
330 B
Puppet
# Configure service
|
|
#
|
|
class fluentd::service inherits fluentd {
|
|
|
|
if $::fluentd::service_manage {
|
|
service { 'fluentd':
|
|
ensure => $::fluentd::service_ensure,
|
|
name => $::fluentd::service_name,
|
|
enable => $::fluentd::service_enable,
|
|
hasstatus => true,
|
|
hasrestart => true,
|
|
}
|
|
}
|
|
}
|