summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-27 05:25:20 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-27 05:25:20 +0200
commitbbae9363a087e4731be739bc46371fad458276bd (patch)
treed8b108f5fd2a7472a1d63d97d118cb3115b975ab
parentSpecify wg exit port. (diff)
downloadprofiles-bbae9363a087e4731be739bc46371fad458276bd.tar.gz
profiles-bbae9363a087e4731be739bc46371fad458276bd.tar.xz
wg flip netdev and network.
-rw-r--r--manifests/wg_exit_node.pp4
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']}