Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Installing Salt

Mike Reeves edited this page Aug 12, 2013 · 9 revisions

Table of Contents

Salt Install

sudo apt-get install python-software-properties sudo add-apt-repository ppa:saltstack/salt

On your backend that you want to make you salt master:

sudo apt-get install salt-master salt-minion

On your Sensor:

sudo apt-get install salt-minion

Configuration on the master

On your master modify /etc/salt/master and change the following lines of code:

#file_roots: # base: # - /srv/salt to:

and:

to:

Restart your master:

Configuration on the minion

Modify /etc/salt/minion and change the following line:

to:

Restart your minion:

  • If you already have Security Onion installed you will need to run the following command. You will also need to run this every time you use sosteup on a sensor on the sensor until I fix the code to handle this:

Register your Minions

Now that everything is running let's make sure you can talk to your minions. Run the following command:

Your output should look like this:

http://pimp.geekempire.com/pics/cache/misc/onionsalt/OSscreenshot1_595.png

Now accept all keys with the following command:

http://pimp.geekempire.com/pics/cache/misc/onionsalt/OSscreenshot3_595.png

Now run the salt-key -L and you should see they are accepted. Let's make sure we can talk to everyone and everyone is happy.

http://pimp.geekempire.com/pics/cache/misc/onionsalt/OSscreenshot2_595.png

Head back to the [Installation] to get this mug going..