gvasalt/pillar/top.sls

13 lines
363 B
Text

base:
'*':
- gnuviechadmin
{% for role in ('database', 'queues', 'webinterface', 'gvaldap', 'gvafile', 'gvamysql', 'gvapgsql', 'gvaweb') %}
'roles:gnuviechadmin.{{ role }}':
- match: grain
- gnuviechadmin.{{ role }}
{% endfor %}
{% for role in ('fileserver', 'ldapclient') %}
'roles:{{ role }}':
- match: grain
- {{ role }}
{% endfor %}