Puppetserver can't use eyaml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppetserver (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
when using puppetserver under Ubuntu 23.04, I can't use eyaml for encrypted hiera data, even with ubuntu-package hiera-eyaml installed. Doesn't work with gem hiera-eyaml (installed with gem command) either.
Client always aborts with
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Function Load Error for function 'eyaml_lookup_key': Lookup using eyaml lookup_key function is only supported when the hiera_eyaml library is present (file: ..., line: 69, column: 1) on node ...
which comes from
/usr/lib/
unless Puppet.
raise Puppet:
end
So the reason is that Puppet.
The only code to set this to true I found in
/usr/lib/
Puppet.
which does not seem to be read by puppetserver
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: puppetserver 7.9.5-1
ProcVersionSign
Uname: Linux 5.15.0-75-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: lxd
CloudName: unknown
CloudPlatform: lxd
CloudSerial: 20180426.2
CloudSubPlatform: seed-dir (/var/lib/
Date: Sun Jul 2 00:33:19 2023
PackageArchitec
SourcePackage: puppetserver
UpgradeStatus: Upgraded to lunar on 2023-07-01 (0 days ago)