This cookbook configure RAID and mount the RAID device.
- Chef 11 or higher
| 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 |
Just include raid in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[raid]"
]
}- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License: MIT Authors: Marcy