<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(0,0,0);font-size:12.8000001907349px">Does Murano uses the same local_settings.py file as Horizon? If yes,<br></span><span style="color:rgb(0,0,0);font-size:12.8000001907349px">we might stop using puppet-murano to manage this file.</span></blockquote><div><br></div><div>Yes, it uses same file. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(0,0,0);font-size:12.8000001907349px">And maybe find a mechanism in puppet-horizon with a provider, so we<br></span><span style="color:rgb(0,0,0);font-size:12.8000001907349px">can have a plugin architecture like:<br></span><span style="color:rgb(0,0,0);font-size:12.8000001907349px">horizon::plugins::murano<br></span><span style="color:rgb(0,0,0);font-size:12.8000001907349px">horizon::plugins::foobar<br></span><span style="color:rgb(0,0,0);font-size:12.8000001907349px">that would use this provider to configure a common local_settings.py<br></span><span style="color:rgb(0,0,0);font-size:12.8000001907349px">and notify service on change, like we do for .conf files.</span></blockquote><div><br></div><div>That's idea for researching, sounds good. We can implement something like</div><div>*_config providers for conf files.</div><div><br></div><div>Also, another question. If we will move all UI stuff to puppet-horizon, do we need</div><div>add some dependency for changed modules on horizon module?</div><div>Right now, modules with UI configuration don't have dependency on horizon.</div><div>May be we need to add it?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(0,0,0);font-size:12.8000001907349px">Depends on horizon version I think. Mitaka gained a local_settings.d magic dir that plugins can drop things into.</span></blockquote><div><br></div><div>That's a really good. We can use a separate file for each plugin then and pass it to provider. </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-14 17:59 GMT+03:00 Fox, Kevin M <span dir="ltr"><<a href="mailto:Kevin.Fox@pnnl.gov" target="_blank">Kevin.Fox@pnnl.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Depends on horizon version I think. Mitaka gained a local_settings.d magic dir that plugins can drop things into.<br>
<br>
Thanks,<br>
Kevin <strong>
<div><font face="Tahoma" color="#000000" size="2"> </font></div>
</strong>
<hr>
<font face="Tahoma" size="2"><b>From:</b> Marcos Fermin Lobo<br>
<b>Sent:</b> Thursday, April 14, 2016 5:52:31 AM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> [openstack-dev] [puppet][horizon] - Add extra plugins config to puppet-horizon<br>
</font><div><div class="h5"><br>
<div></div>
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi all,<br>
<br>
I have a question about puppet-horizon module and UI plugins for Horizon.<br>
<br>
Some of UI plugins, like murano-dashboard, needs to add extra parameters <a href="https://github.com/openstack/murano-dashboard/blob/master/muranodashboard/local/local_settings.py.example" target="_blank">
https://github.com/openstack/murano-dashboard/blob/master/muranodashboard/local/local_settings.py.example</a> to local_settings file (which comes from Horizon).<br>
<br>
My question is: Should puppet-horizon module provide those extra parameters coming from each official UI plugins? or this kind of things should come from specific a puppet-{ui-plugin}?<br>
<br>
Thanks.<br>
<br>
Cheers,<br>
Marcos<br>
</div>
</div>
</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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="color:rgb(136,136,136)"><span style="font-family:arial;font-size:small">Best Regards,</span><br></div><span style="color:rgb(136,136,136)">Egorenko Denis</span>,</div><div><font color="#888888">Senior</font><span style="color:rgb(136,136,136)"> Deployment Engineer</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Mirantis</span><br></div></div></div></div></div>
</div>