Merge "Handle openstack configmap options" into release/2019.2.0
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 %}