sysutils/rubygem-bolt: Add one more patch to fix runtime

The error was only triggered when running plan, and was not experienced
when fixing the port a few hours ago.

With hat:	puppet
This commit is contained in:
Romain Tartière 2024-10-30 16:53:38 -10:00
parent fb3ac192ed
commit fd9b8b1e56
No known key found for this signature in database
GPG key ID: BA4D1D955112336F
2 changed files with 12 additions and 1 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= bolt
PORTVERSION= 3.30.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils rubygems
MASTER_SITES= RG

View file

@ -0,0 +1,11 @@
--- lib/bolt/pal.rb.orig 2024-10-31 02:52:31 UTC
+++ lib/bolt/pal.rb
@@ -498,7 +498,7 @@ module Bolt
require 'puppet-strings'
require 'puppet-strings/yard'
PuppetStrings::Yard.setup!
- YARD::Logger.instance.level = :error
+ YARD::Logger.instance.level = YARD::Logger::Severity::ERROR
YARD.parse(pp_path)
plan = YARD::Registry.at("puppet_plans::#{plan_name}")