Skip to content

aokiji/saltstack-hightstate-returner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Docker setup to test salt stack highstate returner module

Getting started

$ docker-compose build $ docker-compose up -d smtp $ docker-compose run --rm saltstack-py3 test # test current version $ docker-compose run --rm saltstack-py3 test-patch # test patched version

this will launch a salt-master instance, a salt-minion instance and try to execute highstate using the returner to send an email. Email sents can be inspected using mailhog instance in port 8025.

$ curl -s http://localhost:8025/api/v2/message | jq

If a message is received then the test was not successfull as the highstate returner is configured not to send anything in case of success

About

Docker setup to test highstate returner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published