From 49529498aa96030199348938e298734c7cc60273 Mon Sep 17 00:00:00 2001 From: Max Wilhelm Date: Fri, 4 Dec 2015 12:30:30 +0100 Subject: [PATCH] prettified notify calls --- manifests/config.pp | 2 +- manifests/config/file.pp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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'], } }