MEschenbacher's Wireguard Saltstack Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

map.jinja 368B

6 년 전
123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=jinja
  3. {% import_yaml "wireguard/defaults.yaml" as defaults %}
  4. {% import_yaml "wireguard/osmap.yaml" as osmap %}
  5. {% set wireguard = salt['grains.filter_by'](
  6. defaults,
  7. merge=salt['grains.filter_by'](
  8. osmap,
  9. grain='os',
  10. merge=salt['pillar.get']('wireguard:lookup', {}),
  11. ),
  12. base='wireguard')
  13. %}