summaryrefslogtreecommitdiff
path: root/lib/chef/resource/mdadm.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-02-23 19:14:56 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-03-04 13:52:44 -0800
commitc3552dc11831379a4b4753964451498e1340611e (patch)
treeeb7aba75e15ca4ddd51afb61d8b850fb9d25edc3 /lib/chef/resource/mdadm.rb
parent0bb2861228fd33fd6a4ef296a1dd223abb6dec9f (diff)
downloadchef-c3552dc11831379a4b4753964451498e1340611e.tar.gz
provider_resolver migration from provider_mapping
- move macosx providers to dynamic resolution - move windows providers to dynamic resolution - move openbsd/netbsd providers to dynamic resolution - move all cron providers to dynamic resolution - move mdadm to static mapping
Diffstat (limited to 'lib/chef/resource/mdadm.rb')
-rw-r--r--lib/chef/resource/mdadm.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/mdadm.rb b/lib/chef/resource/mdadm.rb
index 46a85b2475..971b6c51b4 100644
--- a/lib/chef/resource/mdadm.rb
+++ b/lib/chef/resource/mdadm.rb
@@ -27,6 +27,8 @@ class Chef
state_attrs :devices, :level, :chunk
+ provides :mdadm
+
def initialize(name, run_context=nil)
super
@resource_name = :mdadm