1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-19 20: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',
group => 'root',
source => "puppet:///modules/fluentd/td-agent.conf",
notify => Class['fluentd::service'],
notify => Class['Fluentd::Service'],
}
file {'/etc/td-agent/conf.d':

View File

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