From ae377065144d61eeb7ec115be7ea269b74dc1c5b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 11 Feb 2020 11:12:04 +0000 Subject: [PATCH 1/1] Restart systemd-resolved immediately if the configuration changes --- cookbooks/networking/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index bd8517087..d9e264cd9 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -212,7 +212,7 @@ template "/etc/systemd/resolved.conf.d/99-chef.conf" do owner "root" group "root" mode 0o644 - notifies :restart, "service[systemd-resolved]" + notifies :restart, "service[systemd-resolved]", :immediately end if node[:networking][:tcp_fastopen_key] -- 2.43.2