mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Setup Script - Restart salt Minion after nuking key
This commit is contained in:
@@ -166,7 +166,7 @@ enable_masternode_influxdb_8086_{{ip}}:
|
|||||||
- position: 1
|
- position: 1
|
||||||
- save: True
|
- save: True
|
||||||
|
|
||||||
enable_masternode_mysql_3036_{{ip}}:
|
enable_masternode_mysql_3306_{{ip}}:
|
||||||
iptables.insert:
|
iptables.insert:
|
||||||
- table: filter
|
- table: filter
|
||||||
- chain: DOCKER-USER
|
- chain: DOCKER-USER
|
||||||
|
|||||||
@@ -156,6 +156,7 @@ clear_master() {
|
|||||||
# This only happens if you re-install the master.
|
# This only happens if you re-install the master.
|
||||||
if [ -f /etc/salt/pki/minion/minion_master.pub]; then
|
if [ -f /etc/salt/pki/minion/minion_master.pub]; then
|
||||||
rm /etc/salt/pki/minion/minion_master.pub
|
rm /etc/salt/pki/minion/minion_master.pub
|
||||||
|
service salt-minion restart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user