Fix pillar dir

This commit is contained in:
Mike Reeves
2019-12-09 11:55:53 -05:00
parent 5c9dddf90a
commit f1abab560c

View File

@@ -252,7 +252,7 @@ configure_minion() {
copy_master_config() { copy_master_config() {
# Copy the master config template to the proper directory # 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 cp /root/SecurityOnion/files/master /etc/salt/master
else else
cp ../files/master /etc/salt/master cp ../files/master /etc/salt/master
@@ -481,7 +481,7 @@ filter_unused_nics() {
fireeye_pillar() { fireeye_pillar() {
FIREEYEPILLARPATH=$TMP/pillar/fireeye FIREEYEPILLARPATH=$TMP/pillar/fireeye
mkdir $FIREEYEPILLARPATH mkdir -p $FIREEYEPILLARPATH
echo "" >> $FIREEYEPILLARPATH/init.sls echo "" >> $FIREEYEPILLARPATH/init.sls
echo "fireeye:" >> $FIREEYEPILLARPATH/init.sls echo "fireeye:" >> $FIREEYEPILLARPATH/init.sls