Maximilian Eschenbacher
603b816e28
Check for missing privkey extended
3年前
Bernhard M. Wiedemann
f4ddd81e56
Fail apply without private key
to not accidentally overwrite a working config
with a line
PrivateKey = None
(cherry picked from commit 825c5b5cc7
)
3年前
Bernhard M. Wiedemann
e2d696c125
Make wg.conf more readable
by separating [Peer] blocks with an extra newline
(cherry picked from commit 4d891d1bce
)
3年前
Philipp Lemke
5442336dd7
add qrencode
(cherry picked from commit 3a7d415da3
)
3年前
Jonathon Anderson
10c0b482b1
Use wireguard:lookup to override configuration
4年前
Jonathon Anderson
33e93f0f6a
Allow defaults to be overridden with pillar
4年前
Michal Hrušecký
a2ee53f07b
Allow more complex installation in various scenarios
In some distributions package is not wireguard. In older distribution,
kernel module might be in different package. And for some distributions,
additional repositories might be needed and those might depend on
architecture. So making sure all that is possible and adding example
from SUSE family.
4年前
Michal Hrusecky
c2f27e81f7
Make sure directories for config files exists
4年前
Wild Kat
014503920c
iterate in a manner compatible with salt-ssh
5年前
Maximilian Eschenbacher
be1f11f32f
simplify and fix wg.conf output() macros
5年前
Maximilian Eschenbacher
09dd3e03c6
refactor pillar config format
5年前
Maximilian Eschenbacher
659aae2bed
wg.conf: do not output list keys if they are a string
5年前
Maximilian Eschenbacher
1146e4507e
do not conflate newlines...
5年前
Maximilian Eschenbacher
a691e5106e
whitespace management
5年前
Maximilian Eschenbacher
a243fa45c7
use lookup_key in lookup instead of string
5年前
Maximilian Eschenbacher
06cd3092d6
pass whole dict to wg.conf
5年前
Maximilian Eschenbacher
37166cf71b
output_list_if_set takes three arguments
5年前
Maximilian Eschenbacher
273ecfa1b1
{{ }}
5年前
Maximilian Eschenbacher
67d5eb6288
endfor missing
5年前
Maximilian Eschenbacher
ac192ecaf1
template: jinja
5年前
Maximilian Eschenbacher
934eb2b972
add files/wg.conf template
5年前
Maximilian Eschenbacher
7794ca6736
document interface delete and enable keys
5年前
Maximilian Eschenbacher
c838984da2
interface:config is not required if enable: False
6年前
Maximilian Eschenbacher
08872d2a83
rewrite for simple quick and dirty use
6年前
Maximilian Eschenbacher
aa2099ae9a
preshared_key is a per-peer option
this commit also handles removal of preshared keys. Fixes #5 .
6年前
Maximilian Eschenbacher
ee0d61fc04
map.jinja: do not need osmap for now
6年前
Maximilian Eschenbacher
afa0eb9baf
do not install wireguard via salt
6年前
Maximilian Eschenbacher
4272b14728
refactor/simplify peer configuration
6年前
Maximilian Eschenbacher
56f8f7c645
optionally set int.forward=1 via sysctl
6年前
Maximilian Eschenbacher
f22443287e
quote endpoint value
6年前
Maximilian Eschenbacher
91a21e2e40
Import
6年前