The configuration for SSL was not being run due to the vhost
not having been rendered and the ssl.enabled state not being
set when configure_ssl was run. This change creates a new state
ssl.requested which signals that ssl configuration needs to take
place. Also, an empty vhost is now created so a2ensite does not
fail.
Change-Id: Iaadcd30191e94f9345c55d9eb8551a5593b0fde4
Partial-Bug: #1719331
Declarative helpers takes (most) of the boiler plate of writing an
OpenStack charm and places it into this module. This simplified the
writing, and testing, of an OpenStack charm when using reactive and the
layered approach.
This change makes a BREAKING change to existing charms written using
charms.openstack. This is that the 'assess-status' hook that was
originally in layer-openstack has been removed and made optional via the
declarative helpers. This was to maintain consistency with the
declarative helpers and also to allow charm authors to write their own
'assess-status' state handler as required.
Thus there is also a change to (charm-)layer-openstack which removes the
wired in handler under the same topic.
Change-Id: I3c74f60bb4ed7901828902118697f310622c4061