From bdd244bfde27dd7aa75593679f815d284322b361 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 04:26:09 +0100 Subject: [PATCH] fix(network.sls): fix `salt-lint` errors ```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' %} ``` --- collectd/network.sls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collectd/network.sls b/collectd/network.sls index 9ffe87e..772acdc 100644 --- a/collectd/network.sls +++ b/collectd/network.sls @@ -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 }}