updates the package selection to be overridable, and up's the version
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|Repo Name| version | Build Status|
|
|Repo Name| version | Build Status|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|`cd_apache`| 1.1.1.8 | [](https://pipelines.confdroid.com/job/cd_apache/)|
|
|`cd_apache`| 1.1.2.8 | [](https://pipelines.confdroid.com/job/cd_apache/)|
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
`Apache httpd` is a very powerful and widely used web server.
|
`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
|
* OS: CentOS 7
|
||||||
* Puppet 5
|
* Puppet 5
|
||||||
|
|
||||||
|
|
||||||
### Tests
|
### Tests
|
||||||
* Puppet Lint
|
* Puppet Lint
|
||||||
* excluded tests:
|
* excluded tests:
|
||||||
|
|||||||
@@ -62,7 +62,10 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
class cd_apache::params (
|
class cd_apache::params (
|
||||||
|
|
||||||
|
# installation
|
||||||
$pkg_ensure = 'latest',
|
$pkg_ensure = 'latest',
|
||||||
|
$reqpackages = ['httpd','mod_ssl'],
|
||||||
|
|
||||||
|
|
||||||
$ae_manage_user = false,
|
$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
|
# service
|
||||||
$ae_service = 'httpd'
|
$ae_service = 'httpd'
|
||||||
|
|||||||
Reference in New Issue
Block a user