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...

  1. Configure two minions, stgdc1web01 and stgdc1dbs01. Configure the server_type grain in stgdc1web01 with the value web and in stgdc1dbs01 as db.
  2. Create two new states called nginx and mysql by creating directories for both in the base directory of the staging environment.
  3. 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.