Skip to content
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

Late-bind variable interpolation via YAML tag #2

Open
jgraichen opened this issue Mar 10, 2019 · 0 comments
Open

Late-bind variable interpolation via YAML tag #2

jgraichen opened this issue Mar 10, 2019 · 0 comments
Labels
enhancement New feature or request tower Concerning the tower ext_pillar itself yamlet Concerning the Yamlet renderer

Comments

@jgraichen
Copy link
Owner

Late-bind variable interpolation should be marked in the YAML file and finally handled by the tower e.g.:

# jinja | yamlet

data:
  var: 5
  result: !format "some late bound key with {data.val}"

This is much safer than late bound formatting the whole pillar but requires extensive interaction between the yamlet renderer and the salt tower.

@jgraichen jgraichen added enhancement New feature or request yamlet Concerning the Yamlet renderer tower Concerning the tower ext_pillar itself labels Mar 10, 2019
jgraichen added a commit that referenced this issue Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tower Concerning the tower ext_pillar itself yamlet Concerning the Yamlet renderer
Projects
None yet
Development

No branches or pull requests

1 participant