--- {%- 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 %}