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



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:

Loading…
Cancel
Save