diff --git a/pillar/top.sls b/pillar/top.sls index 3a37fa861..99fe26556 100644 --- a/pillar/top.sls +++ b/pillar/top.sls @@ -2,40 +2,40 @@ base: '*': - patch.needs_restarting - 'G@role:so-sensor': - - minions.{{ grains.id }} - - static - - firewall.* - - brologs - 'G@role:so-mastersearch': - logstash.mastersearch + 'G@role:so-sensor': + - static + - firewall.* + - brologs + - minions.{{ grains.id }} + 'G@role:so-master or G@role:so-mastersearch': - match: compound - - minions.{{ grains.id }} - static - firewall.* - data.* - auth + - minions.{{ grains.id }} 'G@role:so-eval': - - minions.{{ grains.id }} - static - firewall.* - data.* - brologs - auth + - minions.{{ grains.id }} 'G@role:so-node': - - minions.{{ grains.id }} - static - firewall.* + - minions.{{ grains.id }} 'G@role:so-helix': - - minions.{{ grains.id }} - static - firewall.* - fireeye - static - brologs + - minions.{{ grains.id }} diff --git a/salt/pcap/files/compile_bpf.sh b/salt/pcap/files/compile_bpf.sh new file mode 100644 index 000000000..44c5b8249 --- /dev/null +++ b/salt/pcap/files/compile_bpf.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# Copyright 2014 Google Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +if [ "$#" -lt 2 ]; then + cat 1>&2 <