Salt Vagrant VirtualBox Sandbox
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.
etc
salt
.gitignore
LICENSE
README.md
Vagrantfile
salt-installer.sh

README.md

salt-vagrant

This document is not complete yet!!!

If (You are doing something like this)

You are using salt to provision / manage your service. You have more than one developer / devops | ops engineer / system administrator working on salt formulas. You use github for code management. You also use cloud (IaaS) to test your code.

and (you have this problem)

You are actively developing salt formulas and you want to be able to test these without waiting others or without worrying about breaking what other have done. You want to be agile! You should do:

  • fork the main repo
  • cofigure / upload your key's to your account so you can pull/push code
  • install and configure a salt master
  • copy your keys to salt master server
  • configure salt-cloud, credentials, server types etc..
  • checkout your fork to your own salt master
  • create a branch
  • work on the code
  • run it several times to see how your code is doing
  • create a pull request
  • get someone approve your pull request
  • have your code run in production

Since you use Salt, I assume you like automation so let's automate salt-master section.

  • install and configure a salt master
  • configure salt-cloud
  • checkout your fork to your own salt master

We want this to be so easy that, we won't have to keep any server up longer than the time it takes to do the development.

then (this is the solution)

Downlaad "https://raw.githubusercontent.com/saltstackme/salt-vagrant/master/salt-installer.sh"

Enter the values for configuration options.

  • Installs salt-master
  • Copies your ssh public and private keys from your home folder to salt-master:/root/.ssh.