diff --git a/exclude-list.txt b/exclude-list.txt new file mode 100644 index 000000000..1ca4cbe54 --- /dev/null +++ b/exclude-list.txt @@ -0,0 +1,3 @@ +salt/bro/files/local.bro +salt/bro/files/local.bro.community +salt/suricata/suricata.yaml diff --git a/updatemaster.sh b/updatemaster.sh new file mode 100644 index 000000000..39f599ae8 --- /dev/null +++ b/updatemaster.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Clone github +mkdir /tmp/sogh +cd /tmp/sogh +git clone https://github.com/TOoSmOotH/securityonion-saltstack.git +cd securityonion-saltstack +rsync -a pillar /opt/so/saltstack/ +rsync -a --exclude-from 'exclude-list.txt' salt /opt/so/saltstack/