From 5256fcf2112465dce1ae803127c0cd1571484154 Mon Sep 17 00:00:00 2001 From: Sumit Jamgade Date: Wed, 9 Jan 2019 08:23:34 +0100 Subject: [PATCH] install settings file for heat-dashboard Change-Id: Ia12d3d6937185eeb88be30f1d815b2eb82ee18ea --- openstack/heat-dashboard/heat-dashboard.spec.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openstack/heat-dashboard/heat-dashboard.spec.j2 b/openstack/heat-dashboard/heat-dashboard.spec.j2 index c3ab1d254..6568f8175 100644 --- a/openstack/heat-dashboard/heat-dashboard.spec.j2 +++ b/openstack/heat-dashboard/heat-dashboard.spec.j2 @@ -73,6 +73,9 @@ PYTHONPATH=%{http_dashboard_dir} python manage.py test heat_dashboard --settings install -m 0755 -d %{buildroot}%{http_dashboard_dir}/openstack_dashboard/enabled/ cp -a heat_dashboard/enabled/*.py %{buildroot}%{http_dashboard_dir}/openstack_dashboard/enabled/ +install -m 0755 -d %{buildroot}%{http_dashboard_dir}/openstack_dashboard/local/local_settings.d/ +cp -a heat_dashboard/local_settings.d/_1699_orchestration_settings.py \ + %{buildroot}%{http_dashboard_dir}/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py %fdupes %{buildroot}%{python2_sitelib} %fdupes %{buildroot}%{http_dashboard_dir} @@ -89,6 +92,7 @@ su %{apache_user} -s /bin/sh -c "python %{http_dashboard_dir}/manage.py compress %doc ChangeLog CONTRIBUTING.rst README.rst %license LICENSE %{http_dashboard_dir}/openstack_dashboard/enabled/*.py +%{http_dashboard_dir}/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py* %files -n {{ py2pkg('horizon-plugin-heat-ui') }} %doc README.rst