New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jinja2 scripting reclass w/SaltStack #6
Comments
Yeah, it "works" with Ansible because Ansible itself does Jinja-templating on the variable values, but in doing so it converts everything to strings and loses the type. Having pointed out this issue on the list, I was subsequently kicked out of the community and couldn't send another message (see below). Obviously, the way Ansible does it is not acceptable, but the author doesn't get it. I am working on interpolation inside Here's my message to the list, which was censored:
|
Oh, btw, I will not add Jinja2 templating to reclass, just pure variable interpolation. This is because Jinja2 itself casts everything to a string, which you don't want (e.g. lists…) |
This is now implemented, and I hope it works. It would be awesome if you could poke at it, and possibly suggest improvements to the documentation. Please let me know anything else that comes to your mind. |
Ah cool will take a look. Sorry missed this b4.
|
ignore missing class by regexp
In the readme.Salt file, you mention that "Jinja2-style variables in parameter
values" are currently not working?
Seems like this works with reclass + Ansible currently. Is there anything still blocking reclass + jinja2 with Saltstack?
The text was updated successfully, but these errors were encountered: