forked from CERIT-SC/puppet-yum
-
-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
on RHEL9, when trying to implement versionlock, catalog fails to compile
profile::yum::versionlock:
- candlepin-0:4.4.10-1.el9.*
- candlepin-selinux-0:4.4.10-1.el9.*
if $versionlock {
$versionlock.each | String $v| {
yum::versionlock { $v: }
}
}
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Package name must be formatted as Yum::RpmName, not 'String'. See Yum::Rpmname documentation for details. (file: /opt/puppetlabs/server/data/puppetserver/filesync/client/versioned-dirs/puppet-code/production_90afc15b2dd89dcb859edafd5768f4efb3da9462/modules/yum/manifests/versionlock.pp, line: 80, column: 7) (file: /etc/puppetlabs/puppetserver/code/environments/production/site/profile/manifests/yum.pp, line: 39) on node foreman.chepkov.lan
The strings are created by dnf versionlock command
Metadata
Metadata
Assignees
Labels
No labels