O'Reilly logo

Salt Cookbook by Anirban Saha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required