Enable haproxy for when there is a single unit in a deployment

This commit is contained in:
Liam Young
2014-11-25 10:19:07 +00:00
parent ea938dbdb5
commit e55e64c7dd
27 changed files with 680 additions and 478 deletions

View File

@@ -145,7 +145,7 @@ CONFIG_FILES = OrderedDict([
'services': ['cinder-volume']
}),
(HAPROXY_CONF, {
'hook_contexts': [context.HAProxyContext(),
'hook_contexts': [context.HAProxyContext(singlenode_mode=True),
cinder_contexts.HAProxyContext()],
'services': ['haproxy'],
}),