From 8079dc54fc81380a1fae899809fe77a0bd53140a Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 5 Aug 2020 15:42:22 -0400 Subject: [PATCH] add stuff for /etc/salt/minion to get populated for importpcap node --- setup/so-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index 12f8d2ec0..b7050cf70 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -302,7 +302,7 @@ configure_minion() { 'helix') echo "master: $HOSTNAME" >> "$minion_config" ;; - 'manager' | 'eval' | 'managersearch' | 'standalone') + 'manager' | 'eval' | 'managersearch' | 'standalone' | 'importpcap') printf '%s\n'\ "master: $HOSTNAME"\ "mysql.host: '$MAINIP'"\ @@ -856,7 +856,7 @@ got_root() { get_minion_type() { local minion_type 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:]') ;; 'HELIXSENSOR')