From f3da115d723535c5206bdf0f5c2c1e9fe3a3c912 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 11 Jul 2017 15:12:51 -0300 Subject: Refer to apache2 service (2) --- manifests/envvars.pp | 2 +- manifests/site/config.pp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/envvars.pp b/manifests/envvars.pp index f2d2b8b..a477d81 100644 --- a/manifests/envvars.pp +++ b/manifests/envvars.pp @@ -6,7 +6,7 @@ class apache::envvars( owner => root, group => root, mode => '0644', - notify => Service["apache"], + notify => Service["apache2"], source => $source, require => Package['apache'], } diff --git a/manifests/site/config.pp b/manifests/site/config.pp index 5ad91af..bce4e7f 100644 --- a/manifests/site/config.pp +++ b/manifests/site/config.pp @@ -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"], #} } -- cgit v1.2.3