From b0bbd0b91d37b101df1e0201f80bd8328b4d87fe Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Thu, 17 Oct 2019 07:54:42 +0100 Subject: [PATCH] fix(vhosts/cleanup.sls): fix `salt-lint` errors ```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 }}" ``` --- apache/vhosts/cleanup.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/vhosts/cleanup.sls b/apache/vhosts/cleanup.sls index e6b3dec..25260cb 100644 --- a/apache/vhosts/cleanup.sls +++ b/apache/vhosts/cleanup.sls @@ -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: