You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At current state I usually circumvent such issue with the following salt/top.sls file:
{%- set base = salt.pillar.get('tops:base', []) %}
{%- if base|length > 0 %}
base:
'*':
{%- for role in base %}
- {{ role }}
{%- endfor %}
{% endif %}
{%- set dev = salt.pillar.get('tops:dev', []) %}
{%- if dev|length > 0 %}
dev:
'*':
{%- for role in dev %}
- {{ role }}
{%- endfor %}
{% endif %}
It would be nice if pillarstack could have a top module for generating the top file.
See here for detailed examples.
Here is what varstack does: /usr/lib/python2.7/dist-packages/salt/tops/varstack.py
The text was updated successfully, but these errors were encountered: