summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-07-11 12:04:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-07-11 12:04:35 -0300
commitcb8fd093f956532f2170eb587686566b83a26236 (patch)
tree4b4f5f18060ff7c6f4a5e3a2df2d29ec51102232
parent6ebb1b16ddcfa3f92a291855893fd7c44160a939 (diff)
downloadpuppet-apache-cb8fd093f956532f2170eb587686566b83a26236.tar.gz
puppet-apache-cb8fd093f956532f2170eb587686566b83a26236.tar.bz2
Refer to apache2 service
-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