Added master salt folder

This commit is contained in:
Mike Reeves
2018-02-06 11:13:53 -05:00
parent 55194aad25
commit 06991316ba
2 changed files with 7 additions and 1 deletions

1
salt/master/init.sls Normal file
View File

@@ -0,0 +1 @@
# Fill this out

View File

@@ -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