浏览代码

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 #####
##########################################


正在加载...
取消
保存