Handle openstack configmap options

This patch allows to customize the hardcoded configuration values,
as well as introduce new multiline configuration options for the
OpenStack services by ./configmap/configmap.conf template

Change-Id: I4049c3cfa8c3da72b2af16c25dcb888af87814ba
Related-Prod: PROD-29040
(cherry picked from commit 3534ca9dd05031cbde84cc878122183e3b6daecc)
diff --git a/oslo_templates/files/configmap/configmap.conf b/oslo_templates/files/configmap/configmap.conf
new file mode 100644
index 0000000..2142e53
--- /dev/null
+++ b/oslo_templates/files/configmap/configmap.conf
@@ -0,0 +1,17 @@
+{%- for section_name, section in _data.iteritems() %}
+
+[{{ section_name }}]
+  {%- for item_name, item in section.iteritems() %}
+    {%- if item.type is defined and item.type == 'MultiOpt' %}
+      {%- for value in item.get('values').values() %}
+        {%- if value != '<None>' %}
+{{ item_name }} = {{ value }}
+        {%- endif %}
+      {%- endfor %}
+    {%- else %}
+      {%- if item != '<None>' %}
+{{ item_name }} = {{ item }}
+      {%- endif %}
+  {%- endif %}
+  {%- endfor %}
+{%- endfor %}