Thank You
On Thursday, May 16, 2013 1:47:30 PM UTC-4, Ramin K wrote:
On 5/16/2013 5:35 AM, michael....@gmail.com <javascript:> wrote:
So I am having issue with a manifest that contains the class below. I
was in hopes somebody could point me in the correct direction;
Original class, works on many others systems I have this deployed to,
class base::yum_plugins{
require base::yum_repos
package {yum-versionlock: ensure => latest}
package {yum-security: ensure => latest}
However on a machine we are building a template out of it fails.
Debug: Executing '/bin/rpm -q yum-versionlock --nosignature --nodigest
--qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}
Error: Could not update: Could not find package yum-versionlock
Error: /Stage[main]/Base::Yum_plugins/Package[yum-versionlock]/ensure:
change from absent to latest failed: Could not update: Could not find
package yum-versionlock
Notice: /File[/etc/yum/pluginconf.d/versionlock.list]: Dependency
Package[yum-versionlock] has failures: true
Warning: /File[/etc/yum/pluginconf.d/versionlock.list]: Skipping because
of failed dependencies
Debug: Finishing transaction 70184260275260
Debug: Storing state
Debug: Stored state in 0.02 seconds
Notice: Finished catalog run in 6.66 seconds
Debug: Value of 'preferred_serialization_format' (pson) is invalid for
report, using default (yaml)
Debug: report supports formats: b64_zlib_yaml raw yaml; using yaml
[root@rhel6Template ~]# ^C
[root@rhel6Template ~]# /bin/rpm -q yum-versionlock
package yum-versionlock is not installed
[root@rhel6Template ~]# /bin/rpm -q yum-plugin-versionlock
Change class to represent yum-plugin-versionlock and it fails slightly
class base::yum_plugins{
require base::yum_repos
package {yum-plugin-versionlock: ensure => latest}
package {yum-security: ensure => latest}
Error: Failed to apply catalog: Could not find dependency
Package[yum-versionlock] for File[/etc/yum/pluginconf.d/versionlock.list
Setting up Install Process
Package yum-plugin-versionlock-1.1.30-14.el6.noarch already installed
and latest version
Nothing to do
[root@rhel6Template pluginconf.d]# cd /etc/yum/pluginconf.d/
[root@rhel6Template pluginconf.d]# ls
product-id.conf rhnplugin.conf security.conf
subscription-manager.conf versionlock.conf versionlock.list
Any help woudld be greatly appreciated;
You are mixing package names.

RHEL 5.x

RHEL 6.x

Under RHEL 6.x yum install yum-versionlock helpfully installs
yum-plugin-versionlock however Puppet is running a much more explicit
yum command so the alias is not found. Setting the proper name per
distro version should fix the problem.

You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 7 | next ›
Discussion Overview
grouppuppet-users @
postedMay 16, '13 at 1:55p
activeMay 16, '13 at 6:31p



site design / logo © 2022 Grokbase