2009/7/29 josbal <joshua.bald...@gmail.com>:
>
> Hi,
>
> We have majority of RHEL5 servers in our environment. I have noticed
> in the process of trying to deploy puppet, that i am getting errors
> when yum is trying to install packages. Most of the time it works
> flawlessly, however sometime the following will be reported:
>
> change from absent to present failed: Execution of '/usr/bin/yum -d 0 -
> e 0 -y install modcluster' returned 1: This system is not registered
> with RHN. RHN support will be disabled.   Error Downloading
> Packages:   modcluster-0.12.1-2.el5.x86_64: failure:
> modcluster-0.12.1-2.el5.x86_64.rpm from core-1: [Errno 256] No more
> mirrors to try.

This is unlikely to be a puppet issue.

You are most likely to be hitting an issue in your yum configuration
with metadata_expire being to high.

       metadata_expire
              Time (in seconds) after which the metadata will expire. So  that
              if  the  current metadata downloaded is less than this many sec-
              onds old then yum will  not  update  the  metadata  against  the
              repository.  If you find that yum is not downloading information
              on updates as often as you would like lower the  value  of  this
              option.
If say you are updating a package in the repo (and removing the old)
and it's less than metadata_expire your yum client may be looking for
the old removed package.

Paul

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

Reply via email to