This cookbook configure RAID and mount the RAID device.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
recipes
CHANGELOG.md
README.md
metadata.rb

README.md

RAID Cookbook

This cookbook configure RAID and mount the RAID device.

Requirements

  • Chef 11 or higher

Attributes

raid::default

Key Type Description Default
['raid']['verbose'] String Create raid device /dev/md0
['raid']['level'] String RAID Level stripe
['raid']['devices'] Array RAID devices ["/dev/xvdb", "/dev/xvdc"]
['raid']['fs'] String File system ext4
['raid']['mount_point'] String Mount Point /mnt/md0

Usage

raid::default

Just include raid in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[raid]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

License: MIT Authors: Marcy