Provisioning Vagrant environments with Salt

Vagrant machines can also be provisioned using Salt (http://www.saltstack.com). Salt is a combination of configuration management and system orchestration software. Salt relies on a master/minion architecture to enable configuration and control of large clusters of machines, but in this example, we will use masterless salt to provision a basic web server and develop our own salt states that define system configurations.

Getting ready

Compared to other configuration management provisioners, getting started with the Vagrant Salt provisioner is rather easy; the provisioner itself will check for the existence of the salt-call command. If the command does not exist in the Vagrant machine, the provisioner will ...

Get Vagrant Virtual Development Environment Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.