summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp18
1 files changed, 9 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2f28e96..cbd8007 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -137,7 +137,7 @@ class apache(
group => root,
mode => '0644',
require => Apache::Module["macro"],
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# apache mod_macro configuration
@@ -147,7 +147,7 @@ class apache(
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# apache alias configuration
@@ -157,7 +157,7 @@ class apache(
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# apache autoindex configuration
@@ -167,7 +167,7 @@ class apache(
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
file { "${www_folder}":
@@ -199,7 +199,7 @@ class apache(
# Legacy configuration
file { [ "${conf_sites}-available/default", "${conf_sites}-enabled/000-default" ]:
ensure => absent,
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# default site configuration
@@ -209,14 +209,14 @@ class apache(
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
file { "${conf_sites}-enabled/000-default.conf":
owner => root,
group => root,
ensure => "${conf_sites}-available/default.conf",
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# https proxy configuration
@@ -233,7 +233,7 @@ class apache(
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# TODO: remove this in the future
@@ -248,7 +248,7 @@ class apache(
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# Notify this when apache needs a reload. This is only needed when