mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-14 14:00:36 +00:00
15 lines
286 B
ObjectPascal
15 lines
286 B
ObjectPascal
|
# 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,
|
||
|
}
|
||
|
}
|
||
|
}
|