Clean up formating of nodegroups
This commit is contained in:
parent
a89d8d9b6b
commit
79fcda8806
|
@ -1282,17 +1282,17 @@ log_granular_levels:
|
||||||
#nodegroups:
|
#nodegroups:
|
||||||
# group1: 'L@foo.domain.com,bar.domain.com,baz.domain.com and bl*.domain.com'
|
# group1: 'L@foo.domain.com,bar.domain.com,baz.domain.com and bl*.domain.com'
|
||||||
# group2: 'G@os:Debian and foo.domain.com'
|
# group2: 'G@os:Debian and foo.domain.com'
|
||||||
{% if 'nodegroups' in cfg_master %}
|
{%- if 'nodegroups' in cfg_master %}
|
||||||
nodegroups:
|
nodegroups:
|
||||||
{% for name, lvl in cfg_master['nodegroups'].items() %}
|
{%- for name, lvl in cfg_master['nodegroups'].items() %}
|
||||||
{{ name }}: {{ lvl }}
|
{{ name }}: {{ lvl }}
|
||||||
{% endfor %}
|
{%- endfor %}
|
||||||
{% elif 'nodegroups' in cfg_salt %}
|
{%- elif 'nodegroups' in cfg_salt %}
|
||||||
nodegroups:
|
nodegroups:
|
||||||
{% for name, lvl in cfg_salt['nodegroups'].items() %}
|
{%- for name, lvl in cfg_salt['nodegroups'].items() %}
|
||||||
{{ name }}: {{ lvl }}
|
{{ name }}: {{ lvl }}
|
||||||
{% endfor %}
|
{%- endfor %}
|
||||||
{% endif %}
|
{%- endif %}
|
||||||
|
|
||||||
##### Range Cluster settings #####
|
##### Range Cluster settings #####
|
||||||
##########################################
|
##########################################
|
||||||
|
|
Loading…
Reference in New Issue