Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2022 10:01:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261141] sysutils/puppetserver7 with routes.yaml not compatible with rubygem-psych-4
Message-ID:  <bug-261141-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261141

            Bug ID: 261141
           Summary: sysutils/puppetserver7 with routes.yaml not compatible
                    with rubygem-psych-4
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: puppet@FreeBSD.org
          Reporter: freebsd-ports@andre.rikkertdekoe.nl
             Flags: maintainer-feedback?(puppet@FreeBSD.org)
          Assignee: puppet@FreeBSD.org

https://puppet.com/docs/puppet/7/config_file_routes.html decribes how to
create a routes.yaml file to configure puppetserver to use puppetdb

I use rubygem-psych to parse the yaml code.
Only with latest rubygem-psych, the service puppetserver7 will not start and
logs following error in /var/log/puppetserver/puppetserver.log :

Caused by: org.jruby.exceptions.RuntimeError: (YamlLoadError) wrong number =
of
arguments (given 5, expected 1)
        at
RUBY.safe_load(/usr/local/lib/ruby/site_ruby/2.7/puppet/util/yaml.rb:34)

Note that yaml.rb actually belongs to puppet7 package not puppetserver7, but
the error prevents puppetserver7 to start.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261141-7788>