Browse Source

Support defaults in linux.system.config

tags/2016.12
Filip Pytloun 8 years ago
parent
commit
6c6944604d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/system/config.sls

+ 3
- 0
linux/system/config.sls View File

- defaults: - defaults:
pillar: {{ config.pillar|yaml }} pillar: {{ config.pillar|yaml }}
grains: {{ config.get('grains', {}) }} grains: {{ config.get('grains', {}) }}
{%- for key, value in service_config.get('defaults', {}) %}
{{ key }}: {{ value }}
{%- endfor %}


{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}

Loading…
Cancel
Save