[rdo-dev] Re: [horizon][puppet-openstack] Proper Python snippets placement
Thank you both, do you think this should be fixed by the Puppet module or in the package itself? Regards Francesco On 7/22/24 16:22, tho...@goirand.fr wrote: On Jul 22, 2024 8:56 PM, Radomir Dopieralski wrote: > > I think the most sensible thing to do would be to be consistent and have symlinks for all configuration-related files, including local/local_settings.d, local/enabled, and the policy files. > There is code in the .spec file for at least some of that, but it seems to be conditional for some reason. > > On Thu, Jul 11, 2024 at 9:12 AM Francesco Di Nucci wrote: >> >> Hello, >> >> some time ago I found that on EL9 Horizon searches for extra Python snippets in "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d", while puppet-horizon places dashboards snippets in "/etc/openstack-dashboard/local_settings.d", so these are not loaded. At the same time, "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py" is a symlink to "/etc/openstack-dashboard/local_settings". >> >> Of the following, what should be adopted as proper approach on a machine? >> >> Having symlinks to /etc/openstack-dashboard for both local_settings.py and local_settings.d >> Editing files in /usr/share/openstack-dashboard without having symlinks >> Using a symlink for local_settings.py but placing snippets under /usr/share/openstack-dashboard Config files must be in /etc. Anything else is wrong... Thomas ___ dev mailing list -- dev@lists.rdoproject.org To unsubscribe send an email to dev-le...@lists.rdoproject.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s To unsubscribe: %(_internal_name)s-unsubscribe@%(host_name)s
[rdo-dev] Re: [horizon][puppet-openstack] Proper Python snippets placement
On Wed, Jul 24, 2024 at 9:28 AM Francesco Di Nucci < francesco.dinu...@na.infn.it> wrote: > Thank you both, > > do you think this should be fixed by the Puppet module or in the package > itself? > > Regards > > Francesco > > On 7/22/24 16:22, tho...@goirand.fr wrote: > > > > On Jul 22, 2024 8:56 PM, Radomir Dopieralski > wrote: > > > > > > I think the most sensible thing to do would be to be consistent and > > have symlinks for all configuration-related files, including > > local/local_settings.d, local/enabled, and the policy files. > > > There is code in the .spec file for at least some of that, but it > > seems to be conditional for some reason. > I guess you mean: https://github.com/rdo-packages/horizon-distgit/blob/rpm-master/python-django-horizon.spec#L255-L260 It could be unconditionalized. My only concern is about how to manage the upgrade. > > > > > > On Thu, Jul 11, 2024 at 9:12 AM Francesco Di Nucci > > wrote: > > >> > > >> Hello, > > >> > > >> some time ago I found that on EL9 Horizon searches for extra Python > > snippets in > > > "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.d", > > > while puppet-horizon places dashboards snippets in > > "/etc/openstack-dashboard/local_settings.d", so these are not loaded. > > At the same time, > > > "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py" > > > is a symlink to "/etc/openstack-dashboard/local_settings". > > >> > > >> Of the following, what should be adopted as proper approach on a > > machine? > > >> > > >> Having symlinks to /etc/openstack-dashboard for both > > local_settings.py and local_settings.d > > >> Editing files in /usr/share/openstack-dashboard without having > symlinks > > >> Using a symlink for local_settings.py but placing snippets under > > /usr/share/openstack-dashboard > > > > Config files must be in /etc. Anything else is wrong... > > > > Thomas > > > ___ > dev mailing list -- dev@lists.rdoproject.org > To unsubscribe send an email to dev-le...@lists.rdoproject.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > > To unsubscribe: %(_internal_name)s-unsubscribe@%(host_name)s > ___ dev mailing list -- dev@lists.rdoproject.org To unsubscribe send an email to dev-le...@lists.rdoproject.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s To unsubscribe: %(_internal_name)s-unsubscribe@%(host_name)s
[rdo-dev] how to get sponsored for running
https://www.bestvipblog.com I am a content creator with a passion for SEO. I love helping businesses improve their online presence and reach their target audience through strategic SEO techniques. You might be wondering what is the best voip home service, and It's essential to know what it is. It is a device that typically comes in a home telephone and often can function as a high-definition direct line (HDD). In other words, it's an alternative to your traditional home telephone. Of course, it doesn't work like traditional home telephones, so you can't dial out the traditional way, but it works the same as your regular telephone. ___ dev mailing list -- dev@lists.rdoproject.org To unsubscribe send an email to dev-le...@lists.rdoproject.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s To unsubscribe: %(_internal_name)s-unsubscribe@%(host_name)s