Bug 278650 - databases/puppetdb-terminus7 incompatible with Ruby 3.2
Summary: databases/puppetdb-terminus7 incompatible with Ruby 3.2
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: FreeBSD Puppet Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-29 08:23 UTC by Ray Bellis
Modified: 2024-04-29 08:23 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (puppet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Bellis 2024-04-29 08:23:08 UTC
PDB-5560 (see also https://github.com/puppetlabs/puppetdb/pull/3769) addresses compatibility between PuppetDB and Ruby 3.x

However the changes were not backported to PuppetDB 7.x, and with the FreeBSD packages for Puppet now all expecting Ruby 3.2 there are runtime issues caused by the removal of various deprecated methods.

For example:

# puppet node deactivate hostname.example
Warning: Could not configure PuppetDB terminuses: undefined method `exists?' for File:Class
Warning: Could not configure PuppetDB terminuses: undefined method `exists?' for File:Class
Error: undefined method `exists?' for File:Class
Error: Try 'puppet help node deactivate' for usage