[Bug 278650] databases/puppetdb-terminus7 incompatible with Ruby 3.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Apr 2024 08:23:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278650

            Bug ID: 278650
           Summary: databases/puppetdb-terminus7 incompatible with Ruby
                    3.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: puppet@FreeBSD.org
          Reporter: ray@bellis.me.uk
             Flags: maintainer-feedback?(puppet@FreeBSD.org)
          Assignee: puppet@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.