ports/sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb
Romain Tartière fd9b8b1e56
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
2024-10-30 16:58:24 -10:00

11 lines
420 B
Ruby

--- 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}")