mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
15 lines
330 B
Puppet
15 lines
330 B
Puppet
# Configure package
|
|
#
|
|
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,
|
|
}
|
|
}
|
|
}
|