瀏覽代碼

Merge pull request #7 from wk/master

iterate in a manner compatible with both salt-ssh and salt
tags/v2.1.1
Maximilian Eschenbacher 5 年之前
父節點
當前提交
967abd82d3
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      wireguard/init.sls

+ 1
- 1
wireguard/init.sls 查看文件

@@ -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…
取消
儲存