paulbsd-salt/states/burp/init.sls

12 lines
294 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- 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 %}