Fat-free example of SaltStack configuration.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
salt
vagrant
.gitignore
README.rst
fabfile.py

README.rst

SaltStack Example

It is used as Salt configuration example in Slides about SaltStack.

Clone this repository and set up VM using Vagrant.

$ git clone https://github.com/marselester/salt-stack-example.git
$ cd salt-stack-example/vagrant
$ vagrant up

In order to interact with VM you should add 111.222.111.222 salt-hello-world to /etc/hosts.

Install Fabric and set up Salt masterless minion in VM.

$ cd salt-stack-example
$ pip install fabric
$ fab setup_masterless_minion

Finally deploy development or production environment in VM.

$ fab salt_env:development deploy

Enjoy the result page (it will be served by Nginx).