Browse Source

Clean up formating of nodegroups

tags/v0.57.0
Jeremy T. Bouse 8 years ago
parent
commit
79fcda8806
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      salt/files/master.d/f_defaults.conf

+ 7
- 7
salt/files/master.d/f_defaults.conf View File

@@ -1282,17 +1282,17 @@ log_granular_levels:
#nodegroups:
# group1: 'L@foo.domain.com,bar.domain.com,baz.domain.com and bl*.domain.com'
# group2: 'G@os:Debian and foo.domain.com'
{% if 'nodegroups' in cfg_master %}
{%- if 'nodegroups' in cfg_master %}
nodegroups:
{% for name, lvl in cfg_master['nodegroups'].items() %}
{%- for name, lvl in cfg_master['nodegroups'].items() %}
{{ name }}: {{ lvl }}
{% endfor %}
{% elif 'nodegroups' in cfg_salt %}
{%- endfor %}
{%- elif 'nodegroups' in cfg_salt %}
nodegroups:
{% for name, lvl in cfg_salt['nodegroups'].items() %}
{%- for name, lvl in cfg_salt['nodegroups'].items() %}
{{ name }}: {{ lvl }}
{% endfor %}
{% endif %}
{%- endfor %}
{%- endif %}

##### Range Cluster settings #####
##########################################

Loading…
Cancel
Save