From f1abab560c4a5c62c4617b1136d1e1c4d60bae08 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 9 Dec 2019 11:55:53 -0500 Subject: [PATCH] Fix pillar dir --- setup/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/functions.sh b/setup/functions.sh index 9dbed1309..0a62249ed 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -252,7 +252,7 @@ configure_minion() { copy_master_config() { # Copy the master config template to the proper directory - if [ $INSTALLMETHOD =='iso' ]; then + if [ $INSTALLMETHOD == 'iso' ]; then cp /root/SecurityOnion/files/master /etc/salt/master else cp ../files/master /etc/salt/master @@ -481,7 +481,7 @@ filter_unused_nics() { fireeye_pillar() { FIREEYEPILLARPATH=$TMP/pillar/fireeye - mkdir $FIREEYEPILLARPATH + mkdir -p $FIREEYEPILLARPATH echo "" >> $FIREEYEPILLARPATH/init.sls echo "fireeye:" >> $FIREEYEPILLARPATH/init.sls