mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-12 10:13:40 +01:00
Merge remote-tracking branch 'remotes/origin/dev' into issue/90
This commit is contained in:
10
salt/master/files/add_minion.sh
Executable file
10
salt/master/files/add_minion.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script adds pillar and schedule files securely
|
||||
|
||||
MINION=$1
|
||||
|
||||
echo "Adding $1"
|
||||
cp /tmp/$MINION/pillar/$MINION.sls /opt/so/saltstack/pillar/minions/
|
||||
cp /tmp/$MINION/schedules/* /opt/so/saltstack/salt/patch/os/schedules/
|
||||
rm -rf /tmp/$MINION
|
||||
Reference in New Issue
Block a user