Trying to get config to work-1
This commit is contained in:
parent
16b614f4a8
commit
2fc78e0f1a
2 changed files with 1 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% for section in config -%}
|
||||
{% for section in pillar.get('traefik:config') -%}
|
||||
{% for key, val in section.iteritems() -%}
|
||||
{{ key }} = {{ val }}
|
||||
{% endfor -%}
|
||||
|
|
Loading…
Reference in a new issue