Skip to content

hjimenez-godaddy/salt-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salt Lab

This is a simple lab to test salt commands, features, templates etc.

This lab basically follows the next posts :

Run the Lab

In order to run this lab you will need to have the following components installed :

  • docker
  • docker-compose
  • Taskgo (optional).

If you are using Taskgo you can simply run the following commands to create the lab that will create a salt-master box and a salt-minion box.

Using runme :

runme

Using Taskfiles :

task -l 
task start-lab  

If you want to scale the minion machines just run :

task scale-minion -- 6 # To run 7 salt minion host.

Now we are ready to start launching salt commands.

task sconnect-master    # This will give you a bash shell in the salt master box

Using Docker Compose :

docker-compose up -d 
docker-compose up -d --scale salt-minion=4
docker-compose exec salt-master bash

Recommended Readings :

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published