From f61d7dc864c6740c9c79f0bfa0dd054f5e01eaae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se> Date: Mon, 25 Jul 2022 13:50:49 +0200 Subject: [PATCH] Actually apply systemd-networkd settings. Systemd-networkd only checks for *.network files, NOT *.conf files, meaning that the old configuration did nothing. --- manifests/public_ip.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/public_ip.pp b/manifests/public_ip.pp index d1cab32..2841d3e 100644 --- a/manifests/public_ip.pp +++ b/manifests/public_ip.pp @@ -70,7 +70,7 @@ class lysnetwork::public_ip ( }, } - file { "/etc/systemd/network/${iface}.conf": + file { "/etc/systemd/network/${iface}.network": ensure => present, content => epp('lysnetwork/unit_file.epp', { data => $content }), notify => Service['systemd-networkd'], -- GitLab