This repo is the Hyper-V equivalent of the repo that is linked to in the SaltStack Fundamentals tutorial.
The Vagrantfile
contained in this project will stand up a Salt master and two
minions, automatically connecting the them together and preseeding the master.
The primary motivator was to allow a Windows SaltStack user (a chemist?) to dive into SaltStack without having to deal with having two hypervisors (both VBox and Hyper-V), especially if you're also using something like Docker for Windows.
Another motivator is just a general preference for native tooling when possible. Obviously there is less of a community around Hyper-V given that it is exclusive to the operating system that people love to hate on, but it's a very solid product and generally feels like less of a hack or kludge than VirtualBox. Obviously there are differing opinions on this.
- Open up the
Vagrantfile
and take a look at the config section to make sure that it's sane for you (for example, you actually have >6GB RAM), etc. If you updatenum_minions
to larger than2
, you will need to generate additional keys. - Bring up the master via
vagrant up master
. Make sure to note the IP address. - Update the
Vagrantfile
with the master's IP address. - Bring up the minions via
vagrant up minion1 minion2 --parallel
.