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.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/resource/mdadm.rb b/lib/chef/resource/mdadm.rb
index df6e705f15..354582d1cf 100644
--- a/lib/chef/resource/mdadm.rb
+++ b/lib/chef/resource/mdadm.rb
@@ -21,6 +21,10 @@ require "chef/resource"
class Chef
class Resource
+ # Use the mdadm resource to manage RAID devices in a Linux environment using the mdadm utility. The mdadm resource
+ # will create and assemble an array, but it will not create the config file that is used to persist the array upon
+ # reboot. If the config file is required, it must be done by specifying a template with the correct array layout,
+ # and then by using the mount provider to create a file systems table (fstab) entry.
class Mdadm < Chef::Resource
identity_attr :raid_device