[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032874: unblock: puppet-module-horizon/21.0.0-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package puppet-module-horizon

I used to carry a patch in this package, fixing the path of
the wsgi.py script of Horizon. For a reason I can't explain,
this patch went away, and this broke this puppet module.

The latest Debian version of this package re-integrate the
patch correctly.

[ Reason ]
Fix path to wsgi.py

[ Impact ]
Broken puppet module, impossible to setup Horizon correctly
without the fix.

[ Tests ]
I manually tested this fixes the issue.

[ Risks ]
No risk, IMO.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock puppet-module-horizon/21.0.0-3
diff -Nru puppet-module-horizon-21.0.0/debian/changelog puppet-module-horizon-21.0.0/debian/changelog
--- puppet-module-horizon-21.0.0/debian/changelog	2023-02-16 12:14:04.000000000 +0100
+++ puppet-module-horizon-21.0.0/debian/changelog	2023-03-06 14:12:07.000000000 +0100
@@ -1,3 +1,9 @@
+puppet-module-horizon (21.0.0-3) unstable; urgency=medium
+
+  * Fix bad path for Horizon's wsgi.py (due to wrong patch rebase).
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 06 Mar 2023 14:12:07 +0100
+
 puppet-module-horizon (21.0.0-2) unstable; urgency=medium
 
   [ Olivier Chaze ]
diff -Nru puppet-module-horizon-21.0.0/debian/patches/add_dns_v4_variables.patch puppet-module-horizon-21.0.0/debian/patches/add_dns_v4_variables.patch
--- puppet-module-horizon-21.0.0/debian/patches/add_dns_v4_variables.patch	2023-02-16 12:14:04.000000000 +0100
+++ puppet-module-horizon-21.0.0/debian/patches/add_dns_v4_variables.patch	2023-03-06 14:12:07.000000000 +0100
@@ -3,8 +3,10 @@
 Forwarded: no
 Last-Update: 2022-12-06
 
---- puppet-module-horizon-21.0.0.orig/manifests/init.pp
-+++ puppet-module-horizon-21.0.0/manifests/init.pp
+Index: puppet-module-horizon/manifests/init.pp
+===================================================================
+--- puppet-module-horizon.orig/manifests/init.pp
++++ puppet-module-horizon/manifests/init.pp
 @@ -652,6 +652,8 @@ class horizon(
    $horizon_upload_mode                 = undef,
    $default_boot_source                 = undef,
diff -Nru puppet-module-horizon-21.0.0/debian/patches/debian-fixup.patch puppet-module-horizon-21.0.0/debian/patches/debian-fixup.patch
--- puppet-module-horizon-21.0.0/debian/patches/debian-fixup.patch	2023-02-16 12:14:04.000000000 +0100
+++ puppet-module-horizon-21.0.0/debian/patches/debian-fixup.patch	2023-03-06 14:12:07.000000000 +0100
@@ -61,17 +61,18 @@
        $memcache_package                 = 'python3-memcache'
        $pymemcache_package               = 'python3-pymemcache'
        $designate_dashboard_package_name = 'python3-designate-dashboard'
-@@ -48,10 +46,15 @@ class horizon::params {
+@@ -48,10 +46,16 @@ class horizon::params {
          'Debian': {
            $package_name      = 'openstack-dashboard-apache'
            $httpd_config_file = '/etc/apache2/sites-available/openstack-dashboard-alias-only.conf'
-+          $django_wsgi       = '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'
++          $django_wsgi       = '/usr/share/openstack-dashboard/wsgi.py'
 +          $wsgi_user         = 'www-data'
 +          $wsgi_group        = 'www-data'
          }
          default: {
            $package_name      = 'openstack-dashboard'
            $httpd_config_file = '/etc/apache2/conf-available/openstack-dashboard.conf'
++          $django_wsgi       = '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'
 +          $wsgi_user         = 'horizon'
 +          $wsgi_group        = 'horizon'
          }

Reply to: