-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some comments to wgquick config file
- Loading branch information
1 parent
7bc81b7
commit 41fc563
Showing
4 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
# @param peers is an array of struct (Wireguard::Peers) for multiple peers | ||
# @param routes different routes for the systemd-networkd configuration | ||
# @param private_key Define private key which should be used for this interface, if not provided a private key will be generated | ||
# @param preshared_key Define preshared key which should be used for this interface | ||
# @param preshared_key Define preshared key for the remote peer | ||
# @param provider The specific backend to use for this `wireguard::interface` resource | ||
# | ||
# @author Tim Meusel <[email protected]> | ||
|
@@ -177,21 +177,21 @@ | |
case $provider { | ||
'systemd': { | ||
wireguard::provider::systemd { $interface : | ||
interface => $interface, | ||
peers => $peers + $peer, | ||
dport => $dport, | ||
addresses => $addresses, | ||
description => $description, | ||
mtu => $mtu, | ||
routes => $routes, | ||
interface => $interface, | ||
peers => $peers + $peer, | ||
dport => $dport, | ||
addresses => $addresses, | ||
description => $description, | ||
mtu => $mtu, | ||
routes => $routes, | ||
} | ||
} | ||
'wgquick': { | ||
wireguard::provider::wgquick { $interface : | ||
interface => $interface, | ||
peers => $peers + $peer, | ||
dport => $dport, | ||
addresses => $addresses, | ||
interface => $interface, | ||
peers => $peers + $peer, | ||
dport => $dport, | ||
addresses => $addresses, | ||
} | ||
} | ||
default: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters