Browse Source

fix(mod_ssl): update mod_ssl package variable to prevent clashes

The mod_ssl package name could be overridden in apache:lookup:mod_ssl.
Due to the way lookup keys are merged into the main apache dictionary,
the package name clashed with the mod_ssl configuration defined under
apache:mod_ssl.

Fix that by renaming the mod_ssl package variable to mod_ssl_pkg.

Drive-By: Add mod_ssl_pkg to the pillar.example file.
tags/v0.39.4
Andreas Thienemann 4 years ago
parent
commit
5591be26fd
No account linked to committer's email address
3 changed files with 5 additions and 2 deletions
  1. +1
    -1
      apache/mod_ssl.sls
  2. +1
    -1
      apache/osfamilymap.yaml
  3. +3
    -0
      pillar.example

+ 1
- 1
apache/mod_ssl.sls View File



mod_ssl: mod_ssl:
pkg.installed: pkg.installed:
- name: {{ apache.mod_ssl }}
- name: {{ apache.mod_ssl_pkg }}
- require: - require:
- pkg: apache - pkg: apache
- watch_in: - watch_in:

+ 1
- 1
apache/osfamilymap.yaml View File

group: apache group: apache
configfile: /etc/httpd/conf/httpd.conf configfile: /etc/httpd/conf/httpd.conf


mod_ssl: mod_ssl
mod_ssl_pkg: 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

+ 3
- 0
pillar.example View File

# apache version (generally '2.2' or '2.4') # apache version (generally '2.2' or '2.4')
version: '2.2' version: '2.2'


# mod_ssl package name
mod_ssl_pkg: mod_ssl

# ``apache.mod_wsgi`` formula additional configuration: # ``apache.mod_wsgi`` formula additional configuration:
mod_wsgi: mod_wsgi mod_wsgi: mod_wsgi



Loading…
Cancel
Save