[Louis Bouchard] Implement config-flags functionality as implemented in nova-compute charm
This commit is contained in:
commit
98fdb0a682
@ -115,3 +115,6 @@ options:
|
||||
ssl_key:
|
||||
type: string
|
||||
description: SSL key to use with certificate specified as ssl_cert.
|
||||
config-flags:
|
||||
type: string
|
||||
description: Comma separated list of key=value config flags to be set in cinder.conf.
|
||||
|
@ -100,6 +100,7 @@ CONFIG_FILES = OrderedDict([
|
||||
'hook_contexts': [context.SharedDBContext(),
|
||||
context.AMQPContext(),
|
||||
context.ImageServiceContext(),
|
||||
context.OSConfigFlagContext(),
|
||||
cinder_contexts.CephContext(),
|
||||
cinder_contexts.HAProxyContext(),
|
||||
cinder_contexts.ImageServiceContext()],
|
||||
|
@ -41,4 +41,11 @@ glance_api_servers = {{ glance_api_servers }}
|
||||
{% endif -%}
|
||||
{% if glance_api_version -%}
|
||||
glance_api_version = {{ glance_api_version }}
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
|
||||
{% if user_config_flags -%}
|
||||
{% for key, value in user_config_flags.iteritems() -%}
|
||||
{{ key }} = {{ value }}
|
||||
{% endfor -%}
|
||||
{% endif -%}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user