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 年之前
Maximilian Eschenbacher
ee0d61fc04
map.jinja: do not need osmap for now
6 年之前
Maximilian Eschenbacher
afa0eb9baf
do not install wireguard via salt
6 年之前
Maximilian Eschenbacher
72827a07ef
module: delete: be more clear about deletion
6 年之前
Maximilian Eschenbacher
030cdb0dd0
update README
6 年之前
Maximilian Eschenbacher
8e152d8d61
update README
6 年之前
Maximilian Eschenbacher
433689ebc1
state: peer_present: shorten source lines
6 年之前
Maximilian Eschenbacher
705fe1dad4
module: check on set
6 年之前