aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaz <me@saz.sh>2011-11-07 18:41:48 +0100
committerSaz <me@saz.sh>2011-11-07 18:41:48 +0100
commit8b16eb0ac2f9f11796cdca0e8c5dc910b2d4f836 (patch)
treefe1d8528906129c080e66d55cb802804bc4af8d9
parent7c77a722a783adfb80e640392018e0fe5dd987d8 (diff)
downloadpuppet-pureftpd-8b16eb0ac2f9f11796cdca0e8c5dc910b2d4f836.tar.gz
puppet-pureftpd-8b16eb0ac2f9f11796cdca0e8c5dc910b2d4f836.tar.bz2
notify service about configuration changes, new module version
-rw-r--r--Modulefile2
-rw-r--r--manifests/config.pp2
2 files changed, 3 insertions, 1 deletions
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'],
}
}