summaryrefslogtreecommitdiff
path: root/lib/chef/resource/reboot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/reboot.rb')
-rw-r--r--lib/chef/resource/reboot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/reboot.rb b/lib/chef/resource/reboot.rb
index 337418e8d6..c2a4ff29e2 100644
--- a/lib/chef/resource/reboot.rb
+++ b/lib/chef/resource/reboot.rb
@@ -24,7 +24,7 @@ require 'chef/resource'
class Chef
class Resource
class Reboot < Chef::Resource
- resource_name :reboot
+ use_automatic_resource_name
def initialize(name, run_context=nil)
super