New version of salt-formula from Saltstack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. {%- from "salt/map.jinja" import renderer with context %}
  2. {%- if renderer.get('jinja_sls', {}) | length > 0 %}
  3. jinja_sls_env:
  4. {% for key, value in renderer.jinja_sls.iteritems() %}
  5. {{ key }}: "{{ value }}"
  6. {%- endfor %}
  7. {%- endif %}
  8. {%- if renderer.get('jinja', {}) | length > 0 %}
  9. jinja_env:
  10. {% for key, value in renderer.jinja.iteritems() %}
  11. {{ key }}: "{{ value }}"
  12. {%- endfor %}
  13. {%- endif %}
  14. {#-
  15. vim: syntax=jinja
  16. -#}