~gnuoy/charms/trusty/glance/next-haproxy-always

« back to all changes in this revision

Viewing changes to templates/juno/glance-api.conf

  • Committer: Edward Hope-Morley
  • Date: 2014-11-13 12:32:27 UTC
  • mfrom: (78.1.3 glance)
  • Revision ID: edward.hope-morley@canonical.com-20141113123227-flrxtqipvwjwmeq4
[yaguang,r=hopem]

Adds user-defined config flag support for glancr-api.conf
and glance-registry.conf

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
registry_port = 9191
34
34
registry_client_protocol = http
35
35
 
 
36
{% if api_config_flags -%} 
 
37
{% for key, value in api_config_flags.iteritems() -%} 
 
38
{{ key }} = {{ value }}
 
39
{% endfor -%} 
 
40
{% endif -%}
 
41
 
36
42
{% include "parts/rabbitmq" %}
37
43
 
38
44
{% if rabbitmq_host or rabbitmq_hosts -%}