salt/wireguard: fix syntax

This commit is contained in:
Astro 2018-05-17 16:32:18 +02:00
parent 4d6c5b0c89
commit f22d5ece93
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ wireguard-tools:
- source: salt://wireguard/wireguard.service
- template: 'jinja'
- context:
gateway: {{ pillar['hosts-inet']['core']['upstream2']
gateway: {{ pillar['hosts-inet']['core']['upstream2'] }}
endpoints:
{%- for instance, conf in pillar['wireguard-instances'].items() %}
{%- for peer in conf['peers'] %}