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.
Maximilian Eschenbacher 91a21e2e40 Import 6 anni fa
_modules Import 6 anni fa
_states Import 6 anni fa
wireguard Import 6 anni fa
README.md Import 6 anni fa
pillar.example Import 6 anni fa

README.md

wireguard-formula

currently with only _modules and _states.

Install

Add the path to the wireguard-formula to the master configuration file under option file_roots or as gitfs_remotes.

Use as module

salt-call wg.create wgtest salt-call wg.show wgtest salt-call wg.set interface listen_port=1337 salt-call wg.delete wgtest

Use as state

wgtest:
  wg.present:
    - listen_port: 1337

1ymBfBty05PNhD/QJKUlu4aL2p4jKSWVVqVQWIQG6wM=:
  wg.peer_present:
    - interface: wgtest