Hello everyone,
I was wondering if Salt permits to create custom jinja filters.
I have come across the jinja_filter decorator [1] and tried applying it in my util module with no luck (it is not picked up, possibly by design).
The reason I need custom jinja filters is porting templates from Ansible. Switching to calling functions will be too tedious and make the diff considerably harder to read. Therefore, I wish to reimplement the necessary filters in my Salt hierarchy.
Kind regards,
Radosław Piliszek