updates the package selection to be overridable, and up's the version

This commit is contained in:
Arne Teuke
2018-08-26 17:42:08 +02:00
parent 4e9b86a23a
commit 9800b1e585
2 changed files with 4 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
|Repo Name| version | Build Status|
|---|---|---|---|
|`cd_apache`| 1.1.1.8 | [![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_apache)](https://pipelines.confdroid.com/job/cd_apache/)|
|`cd_apache`| 1.1.2.8 | [![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_apache)](https://pipelines.confdroid.com/job/cd_apache/)|
### Synopsis
`Apache httpd` is a very powerful and widely used web server.
@@ -101,7 +101,6 @@ All files and directories are configured with correct selinux context. If selinu
* OS: CentOS 7
* Puppet 5
### Tests
* Puppet Lint
* excluded tests:

View File

@@ -62,7 +62,10 @@
##############################################################################
class cd_apache::params (
# installation
$pkg_ensure = 'latest',
$reqpackages = ['httpd','mod_ssl'],
$ae_manage_user = false,
@@ -90,11 +93,6 @@ $ae_https_port = '443',
) {
# installation section
$reqpackages = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ => ['httpd','mod_ssl'],
}
# service
$ae_service = 'httpd'