|
|
@@ -869,12 +869,12 @@ peer_run: |
|
|
|
# |
|
|
|
{% if 'log_granular_levels' in master %} |
|
|
|
log_granular_levels: |
|
|
|
{% for name, lvl in master['log_granular_levels'] %} |
|
|
|
{% for name, lvl in master['log_granular_levels'].items() %} |
|
|
|
{{ name }}: {{ lvl }} |
|
|
|
{% endfor %} |
|
|
|
{% elif 'log_granular_levels' in salt %} |
|
|
|
log_granular_levels: |
|
|
|
{% for name, lvl in salt['log_granular_levels'] %} |
|
|
|
{% for name, lvl in salt['log_granular_levels'].items() %} |
|
|
|
{{ name }}: {{ lvl }} |
|
|
|
{% endfor %} |
|
|
|
{% else %} |
|
|
@@ -891,12 +891,12 @@ log_granular_levels: |
|
|
|
# group2: 'G@os:Debian and foo.domain.com' |
|
|
|
{% if 'nodegroups' in master %} |
|
|
|
nodegroups: |
|
|
|
{% for name, lvl in master['nodegroups'] %} |
|
|
|
{% for name, lvl in master['nodegroups'].items() %} |
|
|
|
{{ name }}: {{ lvl }} |
|
|
|
{% endfor %} |
|
|
|
{% elif 'nodegroups' in salt %} |
|
|
|
nodegroups: |
|
|
|
{% for name, lvl in salt['nodegroups'] %} |
|
|
|
{% for name, lvl in salt['nodegroups'].items() %} |
|
|
|
{{ name }}: {{ lvl }} |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |