Fix haproxy listen
diff --git a/haproxy/meta/sphinx.yml b/haproxy/meta/sphinx.yml
index 1f4557b..0bfda5d 100644
--- a/haproxy/meta/sphinx.yml
+++ b/haproxy/meta/sphinx.yml
@@ -24,7 +24,7 @@
{%- else %}
mode: {{ listen.mode|default('tcp') }}
{%- endif %}
- {%- if listen.type in ['general-service', 'openstack-service', 'http', 'contrail-api', 'admin'] %}
+ {%- if listen.get('type', 'default') in ['general-service', 'openstack-service', 'http', 'contrail-api', 'admin'] %}
{%- if listen.type|default(None) in ['general-service', 'openstack-service', 'http', 'contrail-api', 'admin'] or listen.mode|default('tcp') == 'http' %}
address: "http://{{ listen.binds.0.address }}:{{ listen.binds.0.port }}/"
protocol: http