aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-23 17:14:32 +0000
committerMichael Scherer <misc@mageia.org>2011-02-23 17:14:32 +0000
commitee843216c501897e1fe36cbe09a39717403a9ac2 (patch)
tree49dcb5a60f6f6d7dfbc9db8ed6fd1b55053e9d37 /modules
parent87ca7e0838341479e913ff31ff8a0ca808621a4a (diff)
downloadpuppet-ee843216c501897e1fe36cbe09a39717403a9ac2.tar
puppet-ee843216c501897e1fe36cbe09a39717403a9ac2.tar.gz
puppet-ee843216c501897e1fe36cbe09a39717403a9ac2.tar.bz2
puppet-ee843216c501897e1fe36cbe09a39717403a9ac2.tar.xz
puppet-ee843216c501897e1fe36cbe09a39717403a9ac2.zip
restart apache when mod_wsgi.conf or mod_php.conf are changed ( or deployed )
Diffstat (limited to 'modules')
-rw-r--r--modules/apache/manifests/init.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index 3ee7b91d..7eec1767 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -51,6 +51,7 @@ class apache {
mode => 644,
require => Package['apache-conf'],
content => template('apache/mod_php.conf')
+ notify => Service['apache'],
}
}
@@ -101,6 +102,7 @@ class apache {
mode => 644,
require => Package['apache-conf'],
content => template('apache/mod_wsgi.conf')
+ notify => Service['apache'],
}
}