Public bug reported:

Ubuntu 24.04.1 LTS with:
puppet-terminus-puppetdb 7.12.1-3
puppetserver 8.4.0-1


Puppet 8 removes support for PSON: 
https://github.com/puppetlabs/puppet/wiki/Puppet-8-Compatibility#pson
But puppet-terminus-puppetdb 7 ships code that relies on PSON: 
https://github.com/puppetlabs/puppetdb/blob/7.12.1/puppet/lib/puppet/util/puppetdb/command.rb#L44

This fails during execution:
Puppet Server Error: undefined method `to_pson' for #<Hash:0x4a5a756e>
Did you mean?  to_json
               to_proc
/usr/lib/ruby/vendor_ruby/puppet/util/puppetdb/command.rb:29:in `block in 
initialize'

puppet-terminus-puppetdb 8 rewrites the code to remove the dependency on
PSON:
https://github.com/puppetlabs/puppetdb/commit/8b5e799e3617d91c56eebcbefb2d13ee4eb9f7ab
and
https://github.com/puppetlabs/puppetdb/commit/d8a99b897db828b4eb68858bb0d8308a53798994

Please include those patches or re-enable PSON support for puppetserver.

** Affects: puppetdb (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084200

Title:
  puppet-terminus-puppetdb 7 is not compatible with puppetserver 8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppetdb/+bug/2084200/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to