Browse Source

iterate in a manner compatible with salt-ssh

tags/v2.1.1
Wild Kat 5 years ago
parent
commit
014503920c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wireguard/init.sls

+ 1
- 1
wireguard/init.sls View File

@@ -1,4 +1,4 @@
{%- for interface_name, interface_dict in salt.pillar.get('wireguard:interfaces', {}).items() %}
{%- for interface_name, interface_dict in salt['pillar.get']('wireguard:interfaces', {}).items() %}

{% if interface_dict.get('delete', False) %}
stop and disable wg-quick@{{interface_name}}:

Loading…
Cancel
Save