This change adds a guard state around the configure_domain_name()
function so that it only gets called ONCE when the relation connects.
This is to prevent restarting keystone everytime the update-status
hook runs on this charm.
Change-Id: I85d14ddb97e78be966f0cc8dbbcea312599d7327