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

index f2d2b8b67ce947504dc118b99f702882ba6398c3..a477d810e950fb905e957700b16264ca75588952 100644 (file)
@@ -6,7 +6,7 @@ class apache::envvars(
     owner   => root,
     group   => root,
     mode    => '0644',
-    notify  => Service["apache"],
+    notify  => Service["apache2"],
     source  => $source,
     require => Package['apache'],
   }
index 5ad91af8d70819750c50372a44e2f22341160239..bce4e7fdaba02d75f5a5f056774b4ed037f4bec0 100644 (file)
@@ -33,7 +33,7 @@ define apache::site::config(
                group   => root,
                mode    => '0644',
                require => File["${apache::macros}"],
-               notify  => Service["apache"],
+               notify  => Service["apache2"],
              }
            }
     false: {
@@ -44,7 +44,7 @@ define apache::site::config(
                group   => root,
                mode    => '0644',
                require => File["${apache::macros}"],
-               notify  => Service["apache"],
+               notify  => Service["apache2"],
              }
            }
   }
@@ -61,6 +61,6 @@ define apache::site::config(
   #  owner   => root,
   #  group   => root,
   #  require => File["${apache::conf_sites}-available/${name}"],
-  #  notify  => Service["apache"],
+  #  notify  => Service["apache2"],
   #}
 }