Fix the grain statement

This commit is contained in:
Mike Reeves
2018-02-06 13:04:03 -05:00
parent cc14308c0c
commit f529cd42e6

View File

@@ -159,8 +159,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
# Create the grains file for the sensor
touch /etc/salt/grains
echo "grains:" > /etc/salt/grains
echo " role: so-sensor" >> /etc/salt/grains
echo "role: so-sensor" >> /etc/salt/grains
# Start the salt agent
service salt-minion start
@@ -190,8 +189,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
# Create the grains file for the Master
touch /etc/salt/grains
echo "grains:" > /etc/salt/grains
echo " role: so-master" >> /etc/salt/grains
echo "role: so-master" >> /etc/salt/grains
# Set up the minion to talk to itself
echo "master: $HOSTNAME" > /etc/salt/minion