added service control
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user