added service control

This commit is contained in:
Arne Teuke
2017-06-19 14:32:14 +01:00
parent 3a2b875beb
commit 1bd7fe8230
4 changed files with 13 additions and 13 deletions

View File

@@ -24,15 +24,12 @@
class cd_apache::params (
$pkg_ensure = 'latest',
$reqpackages = ['httpd24','httpd24-mod_ssl'],
$ae_service = 'httpd24-httpd',
) {
# installation section
$reqpackages = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ => ['httpd24','httpd24-mod_ssl'],
}
$ae_service = 'httpd'
# includes must be last