MEschenbacher's Wireguard Saltstack Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. %}