mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Added master salt folder
This commit is contained in:
1
salt/master/init.sls
Normal file
1
salt/master/init.sls
Normal file
@@ -0,0 +1 @@
|
||||
# Fill this out
|
||||
@@ -193,12 +193,17 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
||||
echo "grains:" > /etc/salt/grains
|
||||
echo " role: so-master" >> /etc/salt/grains
|
||||
|
||||
# Set up the minion to talk to itself
|
||||
echo "master: localhost" > /etc/salt/minion
|
||||
|
||||
# Copy the master config over
|
||||
cp files/master /etc/salt/master
|
||||
|
||||
# Start salt master
|
||||
# Start salt master and minion
|
||||
service salt-master start
|
||||
service salt-minion start
|
||||
|
||||
# Create the pillar
|
||||
touch /opt/so/saltstack/pillar/masters/$HOSTNAME.sls
|
||||
|
||||
salt-call state.highstate
|
||||
|
||||
Reference in New Issue
Block a user