1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-12-16 13:20:35 +00:00

prettified notify calls

This commit is contained in:
Max Wilhelm 2015-12-04 12:30:30 +01:00
parent ea344aa9ad
commit 49529498aa
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ class fluentd::config inherits fluentd {
owner => 'root', owner => 'root',
group => 'root', group => 'root',
source => "puppet:///modules/fluentd/td-agent.conf", source => "puppet:///modules/fluentd/td-agent.conf",
notify => Class['fluentd::service'], notify => Class['Fluentd::Service'],
} }
file {'/etc/td-agent/conf.d': file {'/etc/td-agent/conf.d':

View File

@ -21,7 +21,7 @@ define fluentd::config::file (
command => "rm ${base_path}/*-${base_name}", command => "rm ${base_path}/*-${base_name}",
onlyif => "ls ${base_path}/*-${base_name} | grep -v ${config_name}", onlyif => "ls ${base_path}/*-${base_name} | grep -v ${config_name}",
before => File[$config_path], before => File[$config_path],
notify => Class['fluentd::service'], notify => Class['Fluentd::Service'],
} }
file { $config_path: file { $config_path:
@ -30,6 +30,6 @@ define fluentd::config::file (
owner => 'td-agent', owner => 'td-agent',
group => 'td-agent', group => 'td-agent',
mode => '0644', mode => '0644',
notify => Class['fluentd::service'], notify => Class['Fluentd::Service'],
} }
} }