We'll be grabbing the recently updated generic Ubuntu 16.04 vagrant box as a starting point
Run the following commands to start this box:
vagrant init generic/ubuntu1604 vagrant up
Once the server is setup, you can SSH into the Linux server and login with vagrant with the password of vagrant.
Using the bootstrap script, you can easily provision the Salt Master server
There are a ton of different opinions listed for getting Salt setup - but since wget is installed by default we'll use these commands to install the latest stable version. The -M parameter is used to install the master server, running without it will install the minion components.
wget -O bootstrap-salt.sh https://bootstrap.saltstack.com sudo sh bootstrap-salt.sh -M
You should receive a notice that SALT has been installed.
The default out of box configuration works well in most instances. The Master server listens on all interfaces on port 4505 for publications and port 4506 for "returns".
Run the command to check that the salt master is running.
service salt-master status
In the next post, "Part 2 - Configuring Salt Stack Minion with Vagrant" we'll be diving into configuration of a Windows minion.