Salt masterless starter kit for Vagrant
- Install VirtualBox
- Install Vagrant, either by package or
gem install vagrant
- Write some states!
vagrant up
- Define states as shown in the Salt Masterless Quickstart.
- Pillars can be used by states as shown in Pillar Walkthrough. This project expects pillar files at
states/pillar
which should be managed by another repo. - Formulas can be used by states as shown in Salt Formulas. GitFS does not work with masterless salt yet saltstack/salt#6660, so install them to
states/formulas
using Adding a Formula directory manually.
- Vagrant's salt provisioner has some logging issues. Set
salt.verbose = true
to get output fromsalt.highstate
andsalt.log_level = "info"
to limit that output. - All files in
states
are copied to/srv
on your VM, the default salt states location.