summaryrefslogtreecommitdiff
path: root/lib/chef/resource/script.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-28 11:17:10 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-01 08:02:05 -0700
commit5998cc7315507e649bb76f139c07715f6e590707 (patch)
treeda543eeb9183ba63cfea376c51207b31ed104f65 /lib/chef/resource/script.rb
parent16dbca593b2fef74d952c5e119313efbe2288670 (diff)
downloadchef-5998cc7315507e649bb76f139c07715f6e590707.tar.gz
Make resource_name call provides
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 c968610271..6568d20ac5 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
- provides :script
+ resource_name :script
# Chef-13: go back to using :name as the identity attr
identity_attr :command