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:
Imran Iqbal 2019-10-17 07:51:37 +01:00
parent e55ef9b3ee
commit 55d11f8293
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819

View File

@ -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: