You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lots of software, the TICK stack in particular, uses Toml for configuration files. Writing pillar data in Toml is quite difficult in Salt and as far as I'm aware requires writing your own Toml encoder in Jinja using macros. It would be great if there was a Toml filter, like we have JSON and Yaml filters, so we could do:
{{ config | toml }}
to write a Toml configuration file.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Toml Jinja filerJun 26, 2017
Description of Issue/Question
Lots of software, the TICK stack in particular, uses Toml for configuration files. Writing pillar data in Toml is quite difficult in Salt and as far as I'm aware requires writing your own Toml encoder in Jinja using macros. It would be great if there was a Toml filter, like we have JSON and Yaml filters, so we could do:
to write a Toml configuration file.
The text was updated successfully, but these errors were encountered: