paulbsd-salt/states/burp/init.sls
2020-07-10 00:58:55 +02:00

12 lines
294 B
Plaintext

---
{%- from "burp/map.jinja" import burp with context %}
include:
- .install
- .pkg
{%- if salt['grains.get']('fqdn') == burp.server.name %}
- .server.config
- .server.service
{%- elif salt['grains.get']('fqdn') in burp.hosts.name %}
- .client.config
- .client.service
{%- endif %}