Bläddra i källkod

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 år sedan
förälder
incheckning
d4ae38f825
2 ändrade filer med 2 tillägg och 2 borttagningar
  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 Visa fil

@@ -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 Visa fil

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


Laddar…
Avbryt
Spara