|
|
|
|
|
|
|
|
|
|
|
|
|
|
include: |
|
|
include: |
|
|
- apache |
|
|
- apache |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% for module in salt['pillar.get']('apache:modules:enabled', []) %} |
|
|
{% for module in salt['pillar.get']('apache:modules:enabled', []) %} |
|
|
find /etc/httpd/ -name '*.conf' -type f -exec sed -i -e 's/\(^#\)\(\s*LoadModule.{{ module }}_module\)/\2/g' {} \;: |
|
|
find /etc/httpd/ -name '*.conf' -type f -exec sed -i -e 's/\(^#\)\(\s*LoadModule.{{ module }}_module\)/\2/g' {} \;: |
|
|
cmd.run: |
|
|
cmd.run: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include: |
|
|
include: |
|
|
- apache |
|
|
- apache |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% for module in salt['pillar.get']('apache:modules:enabled', []) %} |
|
|
{% for module in salt['pillar.get']('apache:modules:enabled', []) %} |
|
|
a2enmod {{ module }}: |
|
|
a2enmod {{ module }}: |
|
|
cmd.run: |
|
|
cmd.run: |