From 829cae3807bc13e2a217b57a5ef5cebe40f484bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20L=C3=B6nnemark?= <tobbez@ryara.net> Date: Mon, 16 Dec 2024 21:57:54 +0100 Subject: [PATCH] Fix bug introduced by PR #348 It updated the name of the exec resource used for restarting the network service, but didn't update all the resources notifying it. Fixes: 4185592f6dbbd1920347bdaac9261b300db299b1 --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 3156e88..5b1bffd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -207,11 +207,11 @@ class network ( } $manage_config_file_notify = $config_file_notify ? { - 'class_default' => "Exec[${service_restart_exec}]", + 'class_default' => "Exec[network_restart]", 'undef' => undef, '' => undef, undef => undef, - true => "Exec[${service_restart_exec}]", + true => "Exec[network_restart]", false => undef, default => $config_file_notify, } -- GitLab