Browse Source

classes fix

tags/0.4
Ales Komarek 8 years ago
parent
commit
f035cf3cf1
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      salt/files/minion.conf

+ 4
- 2
salt/files/minion.conf View File

{%- if minion.get('manage_roles', True) %} {%- if minion.get('manage_roles', True) %}
roles: roles:
{%- for key, value in pillar.items() %} {%- for key, value in pillar.items() %}
{%- if key != 'master' and key != 'system' and key != 'public_keys' and key != 'private_keys' and key != 'known_hosts' and key != '__reclass__' and key != '_secret' %}
{%- if key != 'master' and key != 'system' and key != 'public_keys' and key != 'private_keys' and key != 'known_hosts' and key != '__reclass__' and key != '_secret' and key != '_param' %}
{%- for subkey, subvalue in value.iteritems() %} {%- for subkey, subvalue in value.iteritems() %}
{%- if subvalue.enabled is defined %} {%- if subvalue.enabled is defined %}
{%- if subvalue.enabled %} {%- if subvalue.enabled %}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
services: services:
{%- for key in pillar.__reclass__.applications %}
{%- for key, value in pillar.items() %}
{%- if key != 'master' and key != 'system' and key != 'public_keys' and key != 'private_keys' and key != 'known_hosts' and key != '__reclass__' and key != '_secret' and key != '_param' %}
- {{key}} - {{key}}
{%- endif %}
{%- endfor %} {%- endfor %}


grains_dirs: grains_dirs:

Loading…
Cancel
Save