summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cron.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/cron.rb')
-rw-r--r--lib/chef/resource/cron.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/cron.rb b/lib/chef/resource/cron.rb
index 70d4a26d53..daf462866e 100644
--- a/lib/chef/resource/cron.rb
+++ b/lib/chef/resource/cron.rb
@@ -27,7 +27,7 @@ class Chef
state_attrs :minute, :hour, :day, :month, :weekday, :user
- resource_name :cron
+ use_automatic_resource_name
def initialize(name, run_context=nil)
super