Explorar el Código

Merge pull request #518 from ze42/sorted_extra_options

fix: sort extra options in configuration
tags/v1.9.9
Niels Abspoel hace 3 años
padre
commit
7d26191578
Ninguna cuenta vinculada a la dirección de correo electrónico del committer
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      salt/files/master.d/f_defaults.conf
  2. +1
    -1
      salt/files/minion.d/f_defaults.conf

+ 1
- 1
salt/files/master.d/f_defaults.conf Ver fichero

@@ -1825,7 +1825,7 @@ alternative.mongo.{{ name }}: {{ value }}
{% endif %}
{%- endif %}

{%- for configname in cfg_master %}
{%- for configname in cfg_master|sort %}
{%- if configname not in reserved_keys and configname not in default_keys %}
{{ configname }}:
{{ cfg_master[configname]| yaml(False) | indent(2) }}

+ 1
- 1
salt/files/minion.d/f_defaults.conf Ver fichero

@@ -1251,7 +1251,7 @@ alternative.mongo.{{ name }}: {{ value }}
{% endif %}
{%- endif %}

{%- for configname in cfg_minion %}
{%- for configname in cfg_minion|sort %}
{%- if configname not in reserved_keys and configname not in default_keys %}
{%- if cfg_minion[configname] is iterable and cfg_minion[configname] is not mapping and cfg_minion[configname] is not string %}
{{ configname }}:

Cargando…
Cancelar
Guardar