saltstack/salt — pull request #1203 by kadel (2012-05-04 11:17:48+00:00)
Title: more generic way to do raid.list

On some systems there is diferent number of fields in result of ```mdadm --detail --scan```. For example there doesn't have to be a name field.
```
ARRAY /dev/md1 metadata=0.90 UUID=b3abc3c5:cde48c3b:f8031c3e:594fcefe
ARRAY /dev/md0 metadata=0.90 UUID=b4e9a9fc:a8db9577:f8031c3e:594fcefe
```
It results to ```IndexError: list index out of range```

This commit solves it.