[DO NOT MERGE] Initial commit of refactor. Still contains old code.

CONF_HOST_DOMAIN is a string...  There is no analog to the puppet flag for updating the host domain when provisioning a new host.