Orchestration with Salt orchestrate
Orchestration, as we know, is an extremely important feature that should be available in any configuration management system. In Salt, this objective has been achieved till date by overstate. However, a new runner, called orchestrate, has been introduced in Salt to achieve the same objective in a much more efficient manner, and it replaces overstate. In this recipe, you will learn about how to use the orchestrate runner.
How to do it...
- Configure two minions,
stgdc1web01
andstgdc1dbs01
. Configure theserver_type
grain instgdc1web01
with the valueweb
and instgdc1dbs01
asdb
. - Create two new states called
nginx
andmysql
by creating directories for both in the base directory of the staging environment. - Create the ...
Get Salt Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.