Summary

Renderers are used to convert various file formats into a data structure that is usable internally by Salt. Data-serialization renderers return data in a dictionary format, whereas templating renderers return data that can be processed by a data serializer. Both types of renderer look the same, and require a render() function.

Now that we know how to handle the data going into Salt, it's time to look at the data coming back out of Salt. Next up: handling return data.

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.