summaryrefslogtreecommitdiff
path: root/manifests/wireguard_server.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-24 00:33:03 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-24 00:33:03 +0200
commita12ec012d4f8f71b47ccdaf4a38a822f0a3ccf24 (patch)
tree6be9eb353c48d7b5ff061ddbb76b125f117c9774 /manifests/wireguard_server.pp
parentWireguard work. (diff)
downloadprofiles-a12ec012d4f8f71b47ccdaf4a38a822f0a3ccf24.tar.gz
profiles-a12ec012d4f8f71b47ccdaf4a38a822f0a3ccf24.tar.xz
Set mode for wireguard netdev.
Diffstat (limited to '')
-rw-r--r--manifests/wireguard_server.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/wireguard_server.pp b/manifests/wireguard_server.pp
index 56743d4..8eb3e25 100644
--- a/manifests/wireguard_server.pp
+++ b/manifests/wireguard_server.pp
@@ -8,6 +8,7 @@ class profiles::wireguard_server (
networking::networkd_instance { $ifname:
type => 'netdev',
+ mode => '0600',
content => {
'NetDev' => {
'Name' => $ifname,