Explicitly call configure_ssl

Although, layer_openstack_api calls configure_ssl the ordering is
indeterminate. Explicitly call configure_ssl in the charm layer before
services are enabled to avoid attempting to start apache2 before
certificates are available.

Change-Id: Icb40bbcf4ca920be202584e9e25ffd1c2b9c8d61
Partial-Bug: #1750915
This commit is contained in:
David Ames 2018-02-26 08:55:14 -08:00
parent 676e515e87
commit b0a1551e56
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ def render_config(*args):
"""
with charm.provide_charm_instance() as charm_class:
charm_class.upgrade_if_available(args)
charm_class.configure_ssl()
charm_class.enable_services()
charm_class.render_with_interfaces(args)
charm_class.enable_webserver_site()