A state module for creating or destroying software RAID devices.
/dev/md0:
raid.present:
- opts: level=1 chunk=256 raid-devices=2 /dev/xvdd /dev/xvde
Verify that the raid is absent
/dev/md0:
raid:
- absent
Verify that the raid is present
The mdadm options to use to create the raid. See mdadm for more information. Opts can be expressed as a single string of options.
/dev/md0:
raid.present:
- opts: level=1 chunk=256 raid-devices=2 /dev/xvdd /dev/xvde
Or as a list of options.
/dev/md0:
raid.present:
- opts:
- level=1
- chunk=256
- raid-devices=2
- /dev/xvdd
- /dev/xvde