Incorporating external data sources

We've taken care of Salt keys, but we have some other directories that we need to distribute among the masters. Let's start with a component that is used every time you issue a command from the master to one or more minions: the job cache.

The external job cache

Before we dive into this component, let's review the master job cache:

  1. When a command is issued, a job ID (JID) is created on the master.
  2. Information about that job is stored in the job cache, such as what the command and its arguments are and which minions will be affected.
  3. The job data is posted to the message queue, where the affected minions pick it up and perform the requested work.
  4. When each minion finishes the task, it sends the return data back to ...

Get Mastering SaltStack - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.