From cb8fd093f956532f2170eb587686566b83a26236 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 11 Jul 2017 12:04:35 -0300 Subject: Refer to apache2 service --- manifests/init.pp | 18 +++++++++--------- 1 file 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 -- cgit v1.2.3