Sfoglia il codice sorgente

Fix backupninja

Change-Id: I58f684025e8aae21a54dcc2df25d68a9e8a8f12a
pull/70/head
Filip Pytloun 7 anni fa
parent
commit
ae6f37faed
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. +6
    -1
      salt/meta/backupninja.yml

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

@@ -1,5 +1,10 @@
{%- if pillar.salt.master is defined %}
{%- from "salt/map.jinja" import master with context %}
backup:
salt:
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: []
{%- endif %}

Loading…
Annulla
Salva