Bug#1111819: trixie-pu: package puppet-module-tempest/25.0.0-1
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: puppet-module-tempest@packages.debian.org
Control: affects -1 + src:puppet-module-tempest
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
[ Reason ]
The current version on Trixie needs at least 2 runs to work,
because of missing path tweak configuration when it imports
the openstack provider. The (trivial) patch in the Debian
release of the module fixes this.
[ Impact ]
Users having to run puppet agent at least 3 times to have
a successful run.
[ Tests ]
This is part of my OpenStack CI, so it's been extensively
tested (for many weeks already).
[ Risks ]
No risk, it's tested.
[ 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 (old)stable
[x] the issue is verified as fixed in unstable
Please allow me to upload puppet-module-tempest/25.0.0-1+deb13u1
to Trixie pu.
diff -Nru puppet-module-tempest-25.0.0/debian/changelog puppet-module-tempest-25.0.0/debian/changelog
--- puppet-module-tempest-25.0.0/debian/changelog 2024-10-09 11:29:46.000000000 +0200
+++ puppet-module-tempest-25.0.0/debian/changelog 2025-07-24 13:00:47.000000000 +0200
@@ -1,3 +1,9 @@
+puppet-module-tempest (25.0.0-1+deb13u1) unstable; urgency=medium
+
+ * Add Fix_autoloading_of_openstack_provider.patch.
+
+ -- Thomas Goirand <zigo@debian.org> Thu, 24 Jul 2025 13:00:47 +0200
+
puppet-module-tempest (25.0.0-1) unstable; urgency=medium
* New upstream release.
diff -Nru puppet-module-tempest-25.0.0/debian/patches/Fix_autoloading_of_openstack_provider.patch puppet-module-tempest-25.0.0/debian/patches/Fix_autoloading_of_openstack_provider.patch
--- puppet-module-tempest-25.0.0/debian/patches/Fix_autoloading_of_openstack_provider.patch 1970-01-01 01:00:00.000000000 +0100
+++ puppet-module-tempest-25.0.0/debian/patches/Fix_autoloading_of_openstack_provider.patch 2025-07-24 13:00:47.000000000 +0200
@@ -0,0 +1,19 @@
+Description: Fix autoloading of openstack provider
+Author: Thomas Goirand <zigo@debian.org>
+Forwarded: https://review.opendev.org/c/openstack/puppet-tempest/+/955771
+Last-Update: 2025-07-24
+
+--- puppet-module-tempest-25.0.0.orig/lib/puppet/provider/tempest.rb
++++ puppet-module-tempest-25.0.0/lib/puppet/provider/tempest.rb
+@@ -1,3 +1,11 @@
++begin
++ basedir = File.expand_path(File.join(__FILE__, '..', '..', '..', '..', '..'))
++ openstacklib_lib = File.join(basedir, 'openstacklib', 'lib')
++ $LOAD_PATH.unshift(openstacklib_lib) unless $LOAD_PATH.include?(openstacklib_lib)
++rescue => e
++ Puppet.warning("Failed to set $LOAD_PATH for openstacklib: #{e.message}")
++end
++
+ require 'puppet/util/inifile'
+ require 'puppet/provider/openstack'
+ require 'puppet/provider/openstack/auth'
diff -Nru puppet-module-tempest-25.0.0/debian/patches/series puppet-module-tempest-25.0.0/debian/patches/series
--- puppet-module-tempest-25.0.0/debian/patches/series 2024-10-09 11:29:46.000000000 +0200
+++ puppet-module-tempest-25.0.0/debian/patches/series 2025-07-24 13:00:47.000000000 +0200
@@ -1,3 +1,4 @@
revert-workspace-patch.patch
fix-path-for-debian.patch
add-microversions-ssh-timeout-and-build-timeout.patch
+Fix_autoloading_of_openstack_provider.patch
Reply to: