[Pkg-puppet-devel] Bug#1050340: Bug#1050340: puppetserver: incompatibility with system hiera-eyaml

Antoine Beaupré anarcat at debian.org
Wed Aug 23 15:57:18 BST 2023


On 2023-08-23 13:55:21, Cyril Brulebois wrote:
> Package: puppetserver
> Version: 7.9.5-2
> Severity: important
>
> Hi,
>
> I totally lost hiera eyaml support while upgrading from bullseye to
> bookworm. Neither the old hiera configuration file or the new one
> worked. Given the upstream upgrade path, I totally understand that
> there's little puppet packagers can do to ease the pain…
>
>   https://www.puppet.com/docs/puppet/7/hiera_migrate#hiera_migrate
>
> Just in case it helps others, here's what I ended up using, which
> lets me use nodes/*.eyaml files:
>

[...]

> But now I'm facing a bigger issue, which is that any use of hiera
> triggers this error, and dozens of log lines:
>
>     Lookup using eyaml lookup_key function is only supported when the hiera_eyaml library is present
>
> I'm attaching a log excerpt with a trace.
>
>
> Since I didn't want to keep a broken puppet {master,server} for too
> long, I bit the bullet and tried installing the gem, which worked around
> the immediate problem:
>
>     puppetserver gem install hiera-eyaml
>
> But it'd be great if that problem could be debugged and a proper
> solution found, only using Debian packages… This is a rather small
> setup, changes don't happen very often, there's nothing really
> mission-critical, so I can happily assist debugging/running tests
> if instructed.

That's a great bug report, thanks!

Do you think this is a version problem, in other words would it be
sufficient to upgrade the hiera-eyaml package to 3.4.0?

-- 
feature, n: a documented bug | bug, n: an undocumented feature
                        - Mario S F Ferreira <lioux at FreeBSD.org>



More information about the Pkg-puppet-devel mailing list