Add support for RedHat family systems

This changeset is (relatively speaking) complex but adds support for local
automated configuration on EL systems plus works around a few differences with
Debian/Ubuntu.