瀏覽代碼

Import the salt/formulas.jinja template with context

This is only needed for salt versions older than 2014.7 that do not
define the global "salt" variable in such context.
master
Raphaël Hertzog 10 年之前
父節點
當前提交
d4ae38f825
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      salt/files/master.d/_defaults.conf
  2. +1
    -1
      salt/files/minion.d/_defaults.conf

+ 1
- 1
salt/files/master.d/_defaults.conf 查看文件

@@ -12,7 +12,7 @@
#{{ configname }}: {{ default_value }}
{%- endif -%}
{%- endmacro -%}
{%- from 'salt/formulas.jinja' import file_roots, formulas -%}
{%- from 'salt/formulas.jinja' import file_roots, formulas with context -%}
##### Primary configuration settings #####
##########################################
# This configuration file is used to manage the behavior of the Salt Master

+ 1
- 1
salt/files/minion.d/_defaults.conf 查看文件

@@ -12,7 +12,7 @@
#{{ configname }}: {{ default_value }}
{%- endif -%}
{%- endmacro -%}
{%- from 'salt/formulas.jinja' import file_roots, formulas -%}
{%- from 'salt/formulas.jinja' import file_roots, formulas with context -%}
##### Primary configuration settings #####
##########################################


Loading…
取消
儲存