Skip to content

alvaro-gh/vagrant-saltstack-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaltStack lab with Vagrant

This repository holds a Vagrant deploy of SaltStack. Two VMs are created, a Salt Master and a Salt Minion.

Vagrant

You need to have Vagrant and VirtualBox installed. Included Vagrantfile is a multi-box deployment using shell provisioning.

SaltStack

This deployment uses Salt preseeded keys, read more about it here.

How-To

Shell provisioning must be run twice, once to disable SELINUX (a reboot is needed, this could be temprarily done too) and once to setup SaltStack.

Complete Steps:

$ git clone https://github.com/alvaro-gh/vagrant-saltstack-lab
$ cd vagrant-saltstack-lab
$ vagrant up

# Check if reboot is done and SELINUX is disabled:
$ vagrant ssh saltmaster -c getenforce
$ vagrant ssh saltminion -c getenforce

# If SELINUX is disabled, provision again:
$ vagrant up --provision

# Once provisioning is complete, enter Salt Master
$ vagrant ssh saltmaster

# Inside VM
$ sudo salt '*' test.ping
saltminion:
    True

About

SaltStack deployment with Vagrant.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages