diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-27 05:25:20 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-27 05:25:20 +0200 |
commit | bbae9363a087e4731be739bc46371fad458276bd (patch) | |
tree | d8b108f5fd2a7472a1d63d97d118cb3115b975ab /manifests | |
parent | Specify wg exit port. (diff) | |
download | profiles-bbae9363a087e4731be739bc46371fad458276bd.tar.gz profiles-bbae9363a087e4731be739bc46371fad458276bd.tar.xz |
wg flip netdev and network.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/wg_exit_node.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/wg_exit_node.pp b/manifests/wg_exit_node.pp index 400fdb1..91070d5 100644 --- a/manifests/wg_exit_node.pp +++ b/manifests/wg_exit_node.pp @@ -34,14 +34,14 @@ class profiles::wg_exit_node ( } $peers.each |$peer| { - file { "${base}.netdev.d/${peer['name']}.conf": + file { "${base}.network.d/${peer['name']}.conf": content => @("EOF") [Route] Destination=${peer['peer_address']} | EOF } - file { "${base}.network.d/${peer['name']}.conf": + file { "${base}.netdev.d/${peer['name']}.conf": content => @("EOF") [WireGuardPeer] PublicKey=${peer['public_key']} |