From 583b65e95262cfffdb489fe83834757b481d6f66 Mon Sep 17 00:00:00 2001 From: weslambert Date: Thu, 21 Jan 2021 11:52:23 -0500 Subject: [PATCH] Fix syntax --- salt/wazuh/init.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/wazuh/init.sls b/salt/wazuh/init.sls index d6c7ac15e..cf40f739a 100644 --- a/salt/wazuh/init.sls +++ b/salt/wazuh/init.sls @@ -96,8 +96,8 @@ wazuhmgrwhitelist: # Check to see if Wazuh API port is available wazuhportavailable: - cmd.run: - -name: netstat -utanp | grep ":55000" | grep -qv docker && PROCESS=$(netstat -utanp | grep ":55000" | uniq) && echo "Another process ($PROCESS) appears to be using port 55000. Please terminate this process, or reboot to ensure a clean state so that the Wazuh API can start properly." && exit 1 || exit 0 + cmd.run: + - name: netstat -utanp | grep ":55000" | grep -qv docker && PROCESS=$(netstat -utanp | grep ":55000" | uniq) && echo "Another process ($PROCESS) appears to be using port 55000. Please terminate this process, or reboot to ensure a clean state so that the Wazuh API can start properly." && exit 1 || exit 0 so-wazuh: docker_container.running: