@@ -1,9 +1,5 @@ | |||
{% from "wireguard/map.jinja" import wireguard with context %} | |||
wireguard: | |||
pkg.installed: | |||
- name: {{ wireguard.package }} | |||
{% for interface, values in salt['pillar.get']('wireguard:interfaces', {}).items() %} | |||
wireguard_{{ interface }}: | |||
wg.present: |
@@ -2,7 +2,6 @@ | |||
# vim: ft=jinja | |||
{% import_yaml "wireguard/defaults.yaml" as defaults %} | |||
{% import_yaml "wireguard/osmap.yaml" as osmap %} | |||
{% set wireguard = salt['grains.filter_by']( | |||
defaults, |
@@ -1,2 +0,0 @@ | |||
Debian: | |||
foo: bar |