mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 16:03:06 +01:00
only have addtotab.sh run grafana or utility state if masterfw.sls exists
This commit is contained in:
@@ -57,8 +57,10 @@ if [ $TYPE == 'sensorstab' ]; then
|
||||
fi
|
||||
if [ $TYPE == 'evaltab' ]; then
|
||||
echo " monint: $MONINT" >> $local_salt_dir/pillar/data/$TYPE.sls
|
||||
if [ -f $local_salt_dir/pillar/firewall/masterfw.sls ] ; then
|
||||
salt-call state.apply grafana queue=True
|
||||
salt-call state.apply utility queue=True
|
||||
fi
|
||||
fi
|
||||
#if [ $TYPE == 'nodestab' ]; then
|
||||
# echo " nodetype: $NODETYPE" >> $local_salt_dir/pillar/data/$TYPE.sls
|
||||
|
||||
Reference in New Issue
Block a user