gvasalt/pillar/top.sls

15 lines
445 B
Text
Raw Normal View History

base:
'roles:redis-server':
- match: grain
- gnuviechadmin.redis
{%- for role in ('database', 'queues', 'gva', 'gvaldap', 'gvafile', 'gvamysql', 'gvapgsql', 'gvaweb') %}
'roles:gnuviechadmin.{{ role }}':
- match: grain
- gnuviechadmin.{{ role }}
2016-09-24 21:51:59 +02:00
{% endfor %}
{% for role in ('fileserver', 'ldapserver', 'ldapclient', 'postgresql-server', 'webserver') %}
2016-09-24 21:51:59 +02:00
'roles:{{ role }}':
- match: grain
- {{ role }}
{% endfor %}