Skip to content

Commit

Permalink
fix(network.sls): fix salt-lint errors
Browse files Browse the repository at this point in the history
```bash
Examining collectd/network.sls of type state
[204] Lines should be no longer that 160 chars
collectd/network.sls:16
{% if collectd_settings.plugins.network.authfile is defined and collectd_settings.plugins.network.username is defined and collectd_settings.plugins.network.type == 'Listen' %}
```
  • Loading branch information
myii committed Oct 9, 2019
1 parent 29f03c5 commit bdd244b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion collectd/network.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ include:
- watch_in:
- service: collectd-service
{% if collectd_settings.plugins.network.authfile is defined and collectd_settings.plugins.network.username is defined and collectd_settings.plugins.network.type == 'Listen' %}
{% if collectd_settings.plugins.network.authfile is defined and
collectd_settings.plugins.network.username is defined and
collectd_settings.plugins.network.type == 'Listen' %}
{{ collectd_settings.plugins.network.authfile }}:
file.managed:
- user: {{ collectd_settings.user }}
Expand Down

0 comments on commit bdd244b

Please sign in to comment.