Skip to content

marcy-cookbooks/raid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This cookbook configure RAID and mount the RAID device.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages