|
- {% from "salt/map.jinja" import master with context %}
-
- engines_dirs:
- {%- for environment_name, environment in master.get('environment', {}).iteritems() %}
- - /srv/salt/env/{{ environment_name }}/_engines
- {%- endfor %}
-
- engines:
- {%- for engine_name, engine in master.engine.items() %}
- {%- set name = engine.get('engine', engine_name) %}
- {%- if engine.engine is defined %}{%- do engine.pop('engine') %}{% endif %}
- - {{ name }}: {{ engine|yaml }}
- {%- endfor %}
|