mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix issue with schedule being placed in wrong location
This commit is contained in:
@@ -6,5 +6,7 @@ MINION=$1
|
||||
|
||||
echo "Adding $1"
|
||||
cp /tmp/$MINION/pillar/$MINION.sls $local_salt_dir/pillar/minions/
|
||||
cp --parents /tmp/$MINION/schedules/* $local_salt_dir/salt/patch/os/schedules/
|
||||
if [ "$(ls -A /tmp/$MINION/schedules/)" ]; then
|
||||
cp /tmp/$MINION/schedules/* $local_salt_dir/salt/patch/os/schedules/
|
||||
fi
|
||||
rm -rf /tmp/$MINION
|
||||
Reference in New Issue
Block a user