summaryrefslogtreecommitdiff
path: root/lib/chef/resource/mdadm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/mdadm.rb')
-rw-r--r--lib/chef/resource/mdadm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/mdadm.rb b/lib/chef/resource/mdadm.rb
index e30452a113..8f19410b9c 100644
--- a/lib/chef/resource/mdadm.rb
+++ b/lib/chef/resource/mdadm.rb
@@ -27,7 +27,7 @@ class Chef
state_attrs :devices, :level, :chunk
- resource_name :mdadm
+ use_automatic_resource_name
def initialize(name, run_context=nil)
super