瀏覽代碼

Fix backupninja

Change-Id: I58f684025e8aae21a54dcc2df25d68a9e8a8f12a
pull/70/head
Filip Pytloun 7 年之前
父節點
當前提交
ae6f37faed
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      salt/meta/backupninja.yml

+ 6
- 1
salt/meta/backupninja.yml 查看文件

@@ -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…
取消
儲存