Added master salt folder

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

No files matched your search

+1
View File
@@ -0,0 +1 @@
# Fill this out
+6 -1
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