changed package selection
This commit is contained in:
@@ -23,14 +23,28 @@
|
||||
|
||||
class cd_apache::params (
|
||||
|
||||
$pkg_ensure = 'latest',
|
||||
$reqpackages = ['httpd24','httpd24-mod_ssl'],
|
||||
$ae_service = 'httpd24-httpd',
|
||||
$pkg_ensure = 'latest',
|
||||
|
||||
$ae_manage_user = false,
|
||||
|
||||
$ae_user_name = 'apache',
|
||||
$ae_user_uid = '48',
|
||||
$ae_u_comment = 'Apache Service User',
|
||||
$ae_u_groups = undef,
|
||||
$ae_user_home = '/home/apache',
|
||||
$ae_user_shell = '/bin/false',
|
||||
|
||||
) {
|
||||
|
||||
# installation section
|
||||
|
||||
$reqpackages = $::operatingsystem ? {
|
||||
/(?i-mx:centos|fedora|redhat)/ => ['httpd','mod_ssl'],
|
||||
}
|
||||
|
||||
# service
|
||||
$ae_service = 'httpd',
|
||||
|
||||
# includes must be last
|
||||
|
||||
include cd_apache::main::config
|
||||
|
||||
@@ -27,6 +27,12 @@ class cd_apache::server::user (
|
||||
|
||||
require cd_apache::server::install
|
||||
|
||||
if $ae_manage_user == true {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user