fix(modules.sls): fix salt-lint
errors
```bash Examining apache/modules.sls of type state [201] Trailing whitespace apache/modules.sls:49 [201] Trailing whitespace apache/modules.sls:84 ```
This commit is contained in:
parent
e55ef9b3ee
commit
55d11f8293
@ -46,7 +46,7 @@ a2dismod -f {{ module }}:
|
|||||||
|
|
||||||
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:
|
||||||
@ -81,7 +81,7 @@ find /etc/httpd/ -name '*.conf' -type f -exec sed -i -e 's/\(^\s*LoadModule.{{ m
|
|||||||
|
|
||||||
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user