<div dir="ltr">For puppetlabs-inifile that’s a bigger question. For our purposes the answer is “whatever ConfigParser does”. </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 2, 2015 at 10:32 PM, Cody Herriges <span dir="ltr"><<a href="mailto:cody@herriges.org" target="_blank">cody@herriges.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Martin,<br><br></div>I see no reason this shouldn't just be pushed into puppetlabs-inifile. I can't actually find a real "spec" for INI file and even the Wiki link[3] calls out that there is no actual spec.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 27, 2015 at 5:04 AM, Martin Mágr <span dir="ltr"><<a href="mailto:mmagr@redhat.com" target="_blank">mmagr@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings,<br>
<br>
I've submitted patch to puppet-openstacklib [1] which adds provider for parsing INI files containing duplicated variables (a.k.a MultiStrOpt [2]). Such parameters are used for example to set service_providers/service_provider for Neutron LBaaSv2. There has been a thought raised, that the patch should rather be submitted to puppetlabs-inifile module instead. The reason I did not submitted the patch to inifile module is that IMHO duplicate variables are not in the INI file spec [3]. Thoughts?<br>
<br>
Regards,<br>
Martin<br>
<br>
<br>
[1] <a href="https://review.openstack.org/#/c/234727/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/234727/</a><br>
[2] <a href="https://docs.openstack.org/developer/oslo.config/api/oslo.config.cfg.html#oslo.config.cfg.MultiStrOpt" rel="noreferrer" target="_blank">https://docs.openstack.org/developer/oslo.config/api/oslo.config.cfg.html#oslo.config.cfg.MultiStrOpt</a><br>
[3] <a href="https://en.wikipedia.org/wiki/INI_file#Duplicate_names" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/INI_file#Duplicate_names</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>