summaryrefslogtreecommitdiff
path: root/lib/chef/resource/lwrp_base.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-28 11:32:10 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-01 08:02:05 -0700
commit46e3f2258b1b04ca6030b5ef1575adadaa920e08 (patch)
treef59066b287aee399b923de9346be4a42f4e20924 /lib/chef/resource/lwrp_base.rb
parent5998cc7315507e649bb76f139c07715f6e590707 (diff)
downloadchef-46e3f2258b1b04ca6030b5ef1575adadaa920e08.tar.gz
Add use_automatic_resource_name
Diffstat (limited to 'lib/chef/resource/lwrp_base.rb')
-rw-r--r--lib/chef/resource/lwrp_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/lwrp_base.rb b/lib/chef/resource/lwrp_base.rb
index dbb14a1a02..129fc38d6f 100644
--- a/lib/chef/resource/lwrp_base.rb
+++ b/lib/chef/resource/lwrp_base.rb
@@ -53,7 +53,7 @@ class Chef
# We load the class first to give it a chance to set its own name
resource_class = Class.new(self)
- resource_class.provides resource_name.to_sym
+ resource_class.resource_name resource_name.to_sym
resource_class.run_context = run_context
resource_class.class_from_file(filename)