Update setup for new format

This commit is contained in:
Mike Reeves
2020-05-08 11:16:26 -04:00
parent 986df0c573
commit 470046dda9
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ IPADDRESS=$2
if grep -q $2 "/opt/so/saltstack/pillar/firewall/$1.sls"; then
echo "Firewall Rule Already There"
else
echo " - $2" >> /opt/so/saltstack/pillar/firewall/$1.sls
echo " - $2" >> /opt/so/saltstack/pillar/firewall/$1.sls
salt-call state.apply firewall queue=True
fi