aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/apache/manifests/base.pp2
-rw-r--r--modules/apache/manifests/config.pp2
-rw-r--r--modules/phpbb/manifests/redirection_instance.pp2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/apache/manifests/base.pp b/modules/apache/manifests/base.pp
index d56e9100..a24040e3 100644
--- a/modules/apache/manifests/base.pp
+++ b/modules/apache/manifests/base.pp
@@ -25,7 +25,7 @@ class apache::base {
subscribe => [ Package['apache-server'] ],
}
- exec { 'service httpd configtest':
+ exec { 'apachectl configtest':
refreshonly => true,
notify => Service['apache'],
}
diff --git a/modules/apache/manifests/config.pp b/modules/apache/manifests/config.pp
index a6e1e231..0ff0962c 100644
--- a/modules/apache/manifests/config.pp
+++ b/modules/apache/manifests/config.pp
@@ -1,6 +1,6 @@
define apache::config($content) {
file { $name:
content => $content,
- notify => Exec['service httpd configtest'],
+ notify => Exec['apachectl configtest'],
}
}
diff --git a/modules/phpbb/manifests/redirection_instance.pp b/modules/phpbb/manifests/redirection_instance.pp
index 9eb6bb8b..332eac53 100644
--- a/modules/phpbb/manifests/redirection_instance.pp
+++ b/modules/phpbb/manifests/redirection_instance.pp
@@ -2,6 +2,6 @@ define phpbb::redirection_instance($url) {
$lang = $name
file { "/etc/httpd/conf/vhosts.d/forums.d/redirect_${name}.conf":
content => template('phpbb/forums_redirect.conf'),
- notify => Exec['service httpd configtest'],
+ notify => Exec['apachectl configtest'],
}
}