Sfoglia il codice sorgente

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 anni fa
parent
commit
d4ae38f825
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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…
Annulla
Salva