bce2c16 Move RHEL related code into an include for readability

Authored and Committed by spetros a year ago
    Move RHEL related code into an include for readability