summaryrefslogtreecommitdiff
path: root/lib/chef/resource/script.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/script.rb')
-rw-r--r--lib/chef/resource/script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/script.rb b/lib/chef/resource/script.rb
index 6568d20ac5..f3d3ef01f4 100644
--- a/lib/chef/resource/script.rb
+++ b/lib/chef/resource/script.rb
@@ -23,7 +23,7 @@ require 'chef/provider/script'
class Chef
class Resource
class Script < Chef::Resource::Execute
- resource_name :script
+ use_automatic_resource_name
# Chef-13: go back to using :name as the identity attr
identity_attr :command