From fd9b8b1e56e40f55dce3d0e7075ed8d276ac67d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Wed, 30 Oct 2024 16:53:38 -1000 Subject: [PATCH] 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 --- sysutils/rubygem-bolt/Makefile | 2 +- sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb diff --git a/sysutils/rubygem-bolt/Makefile b/sysutils/rubygem-bolt/Makefile index 11dec27ffebd..d1daf8a8bb15 100644 --- a/sysutils/rubygem-bolt/Makefile +++ b/sysutils/rubygem-bolt/Makefile @@ -1,6 +1,6 @@ PORTNAME= bolt PORTVERSION= 3.30.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils rubygems MASTER_SITES= RG diff --git a/sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb b/sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb new file mode 100644 index 000000000000..9b6985a0426d --- /dev/null +++ b/sysutils/rubygem-bolt/files/patch-lib_bolt_pal.rb @@ -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}")