Trying to get config to work-1

This commit is contained in:
Eric Renfro 2018-05-17 23:12:41 -04:00
parent 16b614f4a8
commit 2fc78e0f1a
2 changed files with 1 additions and 3 deletions

View File

@ -4,8 +4,6 @@ traefik-config:
file.managed:
- name: {{ traefik.config_file }}
- source: salt://{{ slspath }}/files/traefik.toml
- context:
config: {{ traefik.config }}
- template: jinja
- user: {{ traefik.user}}
- group: {{ traefik.group }}

View File

@ -1,4 +1,4 @@
{% for section in config -%}
{% for section in pillar.get('traefik:config') -%}
{% for key, val in section.iteritems() -%}
{{ key }} = {{ val }}
{% endfor -%}