mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-09 20:50:34 +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,
|
|
}
|
|
}
|
|
}
|