summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/resource/chef_client_cron.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_client_cron.rb b/lib/chef/resource/chef_client_cron.rb
index b9ed50c48e..7a3f7992fc 100644
--- a/lib/chef/resource/chef_client_cron.rb
+++ b/lib/chef/resource/chef_client_cron.rb
@@ -163,7 +163,7 @@ class Chef
end
action :remove do
- cron_d new_resource.job_name do
+ declare_resource(cron_resource_type, new_resource.job_name) do
action :delete
end
end