diff --git a/manifests/config.pp b/manifests/config.pp index 5491331..1b707b9 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -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': diff --git a/manifests/config/file.pp b/manifests/config/file.pp index 21d7943..c1293fd 100644 --- a/manifests/config/file.pp +++ b/manifests/config/file.pp @@ -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'], } }