From 1899f2df5e7d840713c277d267c31b68148a4236 Mon Sep 17 00:00:00 2001 From: "Matthew X. Economou" Date: Mon, 23 Oct 2017 09:35:31 -0400 Subject: [PATCH] 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. --- apache/map.jinja | 1 + apache/mod_ssl.sls | 1 + 2 files changed, 2 insertions(+) diff --git a/apache/map.jinja b/apache/map.jinja index fcba521..b2426d1 100644 --- a/apache/map.jinja +++ b/apache/map.jinja @@ -53,6 +53,7 @@ 'group': 'apache', 'configfile': '/etc/httpd/conf/httpd.conf', + 'mod_ssl': 'mod_ssl', 'mod_wsgi': 'mod_wsgi', 'conf_mod_wsgi': '/etc/httpd/conf.d/wsgi.conf', 'mod_php5': 'php', diff --git a/apache/mod_ssl.sls b/apache/mod_ssl.sls index 38606ba..744115b 100644 --- a/apache/mod_ssl.sls +++ b/apache/mod_ssl.sls @@ -19,6 +19,7 @@ a2enmod mod_ssl: mod_ssl: pkg.installed: + - name: {{ apache.mod_ssl }} - require: - pkg: apache - watch_in: