<div dir="ltr">Hi, all:<div><br></div><div> Recently I submit some patches for adding rabbit_ha_queues and correct the section name of memcached_servers params to each modules, then I find I just did repeated things:</div><div><br></div><div> 1. Adding one parameters which related to oslo.* or authtoken to all puppet modules</div><div> 2. Correct section of parameters, move it from deprecated section to oslo_* section, apply it on all puppet modules</div><div><br></div><div><div> We have more than 30+ modules for now, that means we have to repeat 10+ or 20+ times if we want to do a simple change on oslo_* common configs.</div><div><br></div><div> Besides, the number of oslo_* section is growing, for example : <br></div><div><br></div><div> - oslo_messaging_amqp</div><div> - oslo_messaging_rabbit</div><div> - oslo_middleware</div><div> - oslo_policy</div><div> - oslo_concurrency</div><div> - oslo_versionedobjects</div><div> ...</div><div> </div><div> Now we maintain these oslo_* parameters separately in each modules, this has lead some problems:</div><div><br></div><div> 1. oslo_* params are inconsistent in each modules</div><div> 2. common params explosion in each modules</div><div> 3. no convenient way for managing oslo_* params</div><div><br></div>
<div> When I was doing some work on keystone::resource::authtoken (<a href="https://review.openstack.org/#/c/266723/">https://review.openstack.org/#/c/266723/</a>)</div><div><br></div><div> Then I have a idea about adding puppet-oslo project, using a bunch of define resources to unify oslo_* configs in each modules.</div><div> </div><div> I just write a prototype to show how does it works with oslo.cache:</div><div> </div><div> <a href="https://github.com/NewpTone/puppet-oslo/blob/master/manifests/cache.pp">https://github.com/NewpTone/puppet-oslo/blob/master/manifests/cache.pp</a></div><div> </div><div> Please let me know your opinion on the same.</div><div><br></div><div> Thanks & Regards.</div><div><br></div>-- <br><div><div> Xingchao Yu</div><div><br></div><div><br></div></div>
</div></div>