]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Refer to apache2 service
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 15:04:35 +0000 (12:04 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 15:04:35 +0000 (12:04 -0300)
manifests/init.pp

index 2f28e961a8f4494f298428f3ac5f8f1a490deadb..cbd80079cc8d42e695ac6b775beefd8562577b62 100644 (file)
@@ -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