Chapter 6. Handling Return Data

When the Salt Master issues a command to a Minion and the task completes successfully, there will always be return data. The salt command normally listens for return data, and if it is sent back in time, it will be displayed using an outputter. But whether or not that happens, the Minion will always send return data back to the Master, and any other destinations configured as returners.

This chapter is all about handling that return data, using both returner and outputter modules. We'll talk about:

  • How data is returned to the Master
  • Writing returner modules
  • Extending returners to be used as external job caches
  • Troubleshooting returners
  • Writing outputter modules
  • Troubleshooting outputters

Returning data to external destinations ...

Get Extending SaltStack 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.