{%- if pillar.salt.get('master', {}).get('enabled', False) or (pillar.salt.get('minion', {}).get('enabled', False) and pillar.salt.get('minion', {}).ca is defined) %}
{%- from "salt/map.jinja" import master, minion with context %}
backup:
salt:
{%- if master.get('backup', False) %}
fs_includes:
{%- if master.pillar.engine == 'reclass' or (master.pillar.engine == 'composite' and master.pillar.reclass is defined) %}