From b6560648f4b0d5a7963483192555329aeafbf0a9 Mon Sep 17 00:00:00 2001 From: Patrick Cable Date: Mon, 6 Jul 2020 17:26:14 -0400 Subject: [PATCH] Missed a spot --- recipes/systemd_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/systemd_service.rb b/recipes/systemd_service.rb index d52dc6af..24082fc4 100644 --- a/recipes/systemd_service.rb +++ b/recipes/systemd_service.rb @@ -73,7 +73,7 @@ class ::Chef::Recipe systemd_unit "#{node['chef_client']['dist']}-client.service" do content service_unit_content action :create - notifies(:restart, 'service[chef-client]', :delayed) unless timer + notifies(:restart, "service[#{node['chef_client']['dist']}-client]", :delayed) unless timer end systemd_unit "#{node['chef_client']['dist']}-client.timer" do