mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ a2dismod -f {{ module }}:
|
|||
|
||||
include:
|
||||
- apache
|
||||
|
||||
|
||||
{% 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' {} \;:
|
||||
cmd.run:
|
||||
|
@ -81,7 +81,7 @@ find /etc/httpd/ -name '*.conf' -type f -exec sed -i -e 's/\(^\s*LoadModule.{{ m
|
|||
|
||||
include:
|
||||
- apache
|
||||
|
||||
|
||||
{% for module in salt['pillar.get']('apache:modules:enabled', []) %}
|
||||
a2enmod {{ module }}:
|
||||
cmd.run:
|
||||
|
|
Loading…
Add table
Reference in a new issue