mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add stuff for /etc/salt/minion to get populated for importpcap node
This commit is contained in:
@@ -302,7 +302,7 @@ configure_minion() {
|
|||||||
'helix')
|
'helix')
|
||||||
echo "master: $HOSTNAME" >> "$minion_config"
|
echo "master: $HOSTNAME" >> "$minion_config"
|
||||||
;;
|
;;
|
||||||
'manager' | 'eval' | 'managersearch' | 'standalone')
|
'manager' | 'eval' | 'managersearch' | 'standalone' | 'importpcap')
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
"master: $HOSTNAME"\
|
"master: $HOSTNAME"\
|
||||||
"mysql.host: '$MAINIP'"\
|
"mysql.host: '$MAINIP'"\
|
||||||
@@ -856,7 +856,7 @@ got_root() {
|
|||||||
get_minion_type() {
|
get_minion_type() {
|
||||||
local minion_type
|
local minion_type
|
||||||
case "$install_type" in
|
case "$install_type" in
|
||||||
'EVAL' | 'MANAGERSEARCH' | 'MANAGER' | 'SENSOR' | 'HEAVYNODE' | 'FLEET' | 'STANDALONE')
|
'EVAL' | 'MANAGERSEARCH' | 'MANAGER' | 'SENSOR' | 'HEAVYNODE' | 'FLEET' | 'STANDALONE' | 'IMPORTPCAP')
|
||||||
minion_type=$(echo "$install_type" | tr '[:upper:]' '[:lower:]')
|
minion_type=$(echo "$install_type" | tr '[:upper:]' '[:lower:]')
|
||||||
;;
|
;;
|
||||||
'HELIXSENSOR')
|
'HELIXSENSOR')
|
||||||
|
|||||||
Reference in New Issue
Block a user