Add setting that allows deployers to override the default mod_ssl package

Other states in this formula allow changing the Apache httpd or module
package on RHEL/CentOS, e.g., one may use packages from the httpd24
SCL to install newer versions than in the base repositories.  This
changes the apache.mod_ssl SLS to match them.
This commit is contained in:
Matthew X. Economou 2017-10-23 09:35:31 -04:00
parent 0b117e522d
commit 1899f2df5e
No known key found for this signature in database
GPG Key ID: 79A74A5561687230
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@
'group': 'apache', 'group': 'apache',
'configfile': '/etc/httpd/conf/httpd.conf', 'configfile': '/etc/httpd/conf/httpd.conf',
'mod_ssl': 'mod_ssl',
'mod_wsgi': 'mod_wsgi', 'mod_wsgi': 'mod_wsgi',
'conf_mod_wsgi': '/etc/httpd/conf.d/wsgi.conf', 'conf_mod_wsgi': '/etc/httpd/conf.d/wsgi.conf',
'mod_php5': 'php', 'mod_php5': 'php',

View File

@ -19,6 +19,7 @@ a2enmod mod_ssl:
mod_ssl: mod_ssl:
pkg.installed: pkg.installed:
- name: {{ apache.mod_ssl }}
- require: - require:
- pkg: apache - pkg: apache
- watch_in: - watch_in: