summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-07-11 15:12:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-07-11 15:12:51 -0300
commitf3da115d723535c5206bdf0f5c2c1e9fe3a3c912 (patch)
tree265f1db4cb1cdc1b5c99fa4c780e7fac3319fe0f
parentcb8fd093f956532f2170eb587686566b83a26236 (diff)
downloadpuppet-apache-f3da115d723535c5206bdf0f5c2c1e9fe3a3c912.tar.gz
puppet-apache-f3da115d723535c5206bdf0f5c2c1e9fe3a3c912.tar.bz2
Refer to apache2 service (2)
-rw-r--r--manifests/envvars.pp2
-rw-r--r--manifests/site/config.pp6
2 files changed, 4 insertions, 4 deletions
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"],
#}
}