Follow-up to Amir's comment:
2) Note that config-changed is always fired at least once after install, so it should be fairly trivial to move the host handling entirely to config-changed
3) You can either remove the http relation from metadata, or just add a simple hook handler, such as: https://api.jujucharms.com/charmstore/v4/trusty/wordpress-2/archive/hooks/website-relation-joined
Follow-up to Amir's comment:
2) Note that config-changed is always fired at least once after install, so it should be fairly trivial to move the host handling entirely to config-changed
3) You can either remove the http relation from metadata, or just add a simple hook handler, such as: https:/ /api.jujucharms .com/charmstore /v4/trusty/ wordpress- 2/archive/ hooks/website- relation- joined