Skip to content

Commit

Permalink
fix(vhosts/cleanup.sls): fix salt-lint errors
Browse files Browse the repository at this point in the history
```bash
Examining apache/vhosts/cleanup.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
apache/vhosts/cleanup.sls:29
    - onlyif: "test -L {{ dirpath}}/{{ filename }} || test -f {{ dirpath}}/{{ filename }}"
```
  • Loading branch information
myii committed Oct 17, 2019
1 parent ed7dc7b commit b0bbd0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache/vhosts/cleanup.sls
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ include:
a2dissite {{ filename }}:
cmd.run:
- onlyif: "test -L {{ dirpath}}/{{ filename }} || test -f {{ dirpath}}/{{ filename }}"
- onlyif: "test -L {{ dirpath }}/{{ filename }} || test -f {{ dirpath }}/{{ filename }}"
- watch_in:
- module: apache-reload
- require_in:
Expand Down

0 comments on commit b0bbd0b

Please sign in to comment.