Skip to content

Commit

Permalink
fix(modules.sls): fix salt-lint errors
Browse files Browse the repository at this point in the history
```bash
Examining apache/modules.sls of type state
[201] Trailing whitespace
apache/modules.sls:49

[201] Trailing whitespace
apache/modules.sls:84
```
  • Loading branch information
myii committed Oct 17, 2019
1 parent e55ef9b commit 55d11f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apache/modules.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 55d11f8

Please sign in to comment.