Added support for RedHat based operating systems.

Hi Gareth,

I have added some code since I want to use your module on CentOS.

Have tested it under 6.2 so far.

Cheers,
Tobi