This commit is contained in:
Ante Karamatic 2014-03-02 10:16:17 +01:00
parent 5772e67467
commit 09ddcbc313

View File

@ -432,9 +432,8 @@ class ApacheSSLContext(OSContextGenerator):
'private_address': unit_get('private-address'),
'endpoints': []
}
vip = config('vip')
if is_clustered() and vip:
ctxt['private_address'] = vip
if is_clustered():
ctxt['private_address'] = config('vip')
for api_port in self.external_ports:
ext_port = determine_apache_port(api_port)
int_port = determine_api_port(api_port)