Browse Source

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
```
tags/v0.38.0
Imran Iqbal 5 years ago
parent
commit
55d11f8293
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      apache/modules.sls

+ 2
- 2
apache/modules.sls 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:

Loading…
Cancel
Save