Add RH-family support

This PR consists of two commits but the first has already featured a previous PR and when that is merged, then this one will only amount to the second commit.
It is something we need to support centos, therefore if I remove it the cookbook will not properly support centos.