Chapter 5. Rendering Data

Having the ability to write your own execution and state modules is powerful from a developer's point of view, but you cannot overlook being able to provide that kind of power to users who do not have the ability to provide modules of their own.

Renderers allow users to provide data to various parts of Salt using different kinds of data input formats. The handful of renderers that ship with Salt cover the majority of use cases, but what if your users need to apply data in a specialized format? Or even a more common one that is not yet supported, such as XML? In this chapter, we'll discuss:

  • Writing renderers
  • Troubleshooting renderers

Understanding file formats

By default, Salt uses YAML for its various files. There are two ...

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.