Browse Source

Fix backupninja

Change-Id: I58f684025e8aae21a54dcc2df25d68a9e8a8f12a
pull/70/head
Filip Pytloun 7 years ago
parent
commit
ae6f37faed
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      salt/meta/backupninja.yml

+ 6
- 1
salt/meta/backupninja.yml View File

{%- if pillar.salt.master is defined %}
{%- from "salt/map.jinja" import master with context %}
backup: backup:
salt: salt:
fs_includes: fs_includes:
- /srv/salt/reclass
{%- if master.pillar.engine == 'reclass' or (master.pillar.engine == 'composite' and master.pillar.reclass is defined) %}
- {{ master.pillar.get('reclass', {}).get('inventory_base_uri', '/srv/salt/reclass') }}
{%- endif %}
fs_excludes: [] fs_excludes: []
{%- endif %}

Loading…
Cancel
Save