On Thu, Jan 14, 2021 at 08:46:26AM +0100, Giovanni Bechis wrote: > Hi, > on current (packages as of today) Puppet cannot start anymore, > the error is the following: > > [~]$ doas puppet agent -t > /usr/local/lib/ruby/site_ruby/2.7/puppet/util.rb:461: warning: URI.escape is > obsolete > cannot load such file -- sync Reads like switching ruby's default version from 2.6 to 2.7 caused this.
You could try building Puppet 5.5 with Ruby 2.6 altough most of its 2.6 flavored dependencies have already been unhooked, not sure how you get with this. Perhaps patching `URI.escape' with whatever superseeded it is the way to go here. Cc'ing jeremy@ as ruby maintainer. > Is this a known issue ? > Before updating I was running 6.8 so I do not know when it broke. I haven't used Puppet 5.x in a long time, so cannot tell either.