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 година
Maximilian Eschenbacher
e84cc05075
Merge pull request #9 from anderbubble/configure-packages
Allow defaults to be overridden with pillar
пре 4 година
Jonathon Anderson
8ae09400f0
Added documentation for lookup to pillar.example
пре 4 година
Jonathon Anderson
10c0b482b1
Use wireguard:lookup to override configuration
пре 4 година
Jonathon Anderson
33e93f0f6a
Allow defaults to be overridden with pillar
пре 4 година
Maximilian Eschenbacher
a05d7b228f
Merge pull request #8 from miska/master
Making sure formula works on openSUSE
пре 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 година
Maximilian Eschenbacher
11a2d3f585
clarify pillar.example and README
пре 5 година
Maximilian Eschenbacher
967abd82d3
Merge pull request #7 from wk/master
iterate in a manner compatible with both salt-ssh and salt
пре 5 година
Wild Kat
014503920c
iterate in a manner compatible with salt-ssh
пре 5 година
Maximilian Eschenbacher
7fbf884445
pillar.example: peers indentation finally correct
пре 5 година
Maximilian Eschenbacher
f8929ffa21
pillar.example: correct indentation
пре 5 година
Maximilian Eschenbacher
f43f533c78
update README
пре 5 година
Maximilian Eschenbacher
be1f11f32f
simplify and fix wg.conf output() macros
пре 5 година
Maximilian Eschenbacher
09dd3e03c6
refactor pillar config format
пре 5 година
Maximilian Eschenbacher
e4d434396f
update pillar.example
пре 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
9e58c88fce
no tabs...
пре 5 година
Maximilian Eschenbacher
5cd2aa2fa8
README: update requirements
пре 5 година
Maximilian Eschenbacher
dbb09b011e
update pillar.example
пре 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
5ddcb79f6e
remove debug print
пре 6 година
Maximilian Eschenbacher
441bac008d
states: peer_present: display only if endpoint really changed
пре 6 година
Maximilian Eschenbacher
d0f7c3963c
states: peer_present: set endpoint
пре 6 година
Maximilian Eschenbacher
6c465b38f7
modules: set: really remove persistent keepalive
пре 6 година
Maximilian Eschenbacher
18fae9162f
remove dead code
пре 6 година
Maximilian Eschenbacher
b3affb2680
removing and adding of preshared_keys fixed
пре 6 година
Maximilian Eschenbacher
c58f1712a9
state: present: show private keys for comparison
пре 6 година
Maximilian Eschenbacher
de045d6f38
module: _wg_ifaces: use wg show all
пре 6 година
Maximilian Eschenbacher
0a8a171430
module: create/delete: be more verbose
пре 6 година
Maximilian Eschenbacher
f562c4553f
module: hide_keys for show()
пре 6 година
Maximilian Eschenbacher
567789fe1a
module: showconfg: hide_keys does not have any effect
пре 6 година
Maximilian Eschenbacher
aa2099ae9a
preshared_key is a per-peer option
this commit also handles removal of preshared keys. Fixes #5 .
пре 6 година
Maximilian Eschenbacher
8bfeae11d8
update pillar.example
пре 6 година
Maximilian Eschenbacher
ebca81c37a
update README: note about set_forward_interfaces
пре 6 година