From 8b16eb0ac2f9f11796cdca0e8c5dc910b2d4f836 Mon Sep 17 00:00:00 2001 From: Saz Date: Mon, 7 Nov 2011 18:41:48 +0100 Subject: notify service about configuration changes, new module version --- Modulefile | 2 +- manifests/config.pp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Modulefile b/Modulefile index c8c1a65..fd04768 100644 --- a/Modulefile +++ b/Modulefile @@ -1,5 +1,5 @@ name 'saz-pureftpd' -version '1.0.0' +version '1.0.1' source 'UNKNOWN' author 'saz' license 'UNKNOWN' diff --git a/manifests/config.pp b/manifests/config.pp index 71e6bd8..19c3596 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -11,6 +11,7 @@ class pureftpd::config { default => $pureftpd::config_source, }, require => Class['pureftpd::install'], + notify => Class['pureftpd::service'], } file { $pureftpd::params::config_default_file: @@ -19,5 +20,6 @@ class pureftpd::config { group => root, content => template("${module_name}/default_config.erb"), require => Class['pureftpd::install'], + notify => Class['pureftpd::service'], } } -- cgit v1.2.3