Setup Script - Firewall Automation

This commit is contained in:
Mike Reeves committed 2018-06-27 13:22:12 -04:00
1 parent 27646f2dbb
commit 2748eb033f
2 files changed
+41 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# This script adds ip addresses to specific rule sets defined by the user
POLICY=$1
IPADDRESS=$2
echo " - $2" >> /opt/so/saltstack/pillar/firewall/$1.sls
salt-call state.apply firewall