Displaying 8 results from an estimated 8 matches for "metadata_expire".
2009 Jul 29
4
Yum issues
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:
2010 Nov 18
4
best way to ensure (yum) package repository freshness ?
Hello,
I have run into problems in the past where a package has been added to
our yum repository, and a (new) class has been pushed to install that
package, but puppet fails because the yum db on the target machine is
too stale, and thus isn''t aware of the existence of the new package.
My question is this : what have other Puppet admins done in order to
ensure that a target machine
2008 Feb 15
0
No installed updated kernels via yum
...on. Last kernel installed in /boot via yum is:
Sep 27 16:38 vmlinuz-2.6.18-8.1.14.el5
/etc/yum.conf contains:
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
/etc/yum.repos.d/CentOS-Base.repo contains:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=
$basearch&repo
=os
#baseurl=http://mirror.centos.org/...
2012 Nov 01
7
Install RPM package via puppet
I am trying to get a package (iftop) installed on a test node using puppet
but I can''t get it to install. This seems like it should be simple, but I
can''t figure out what I am missing. Have done a lot of searching for
similar problems and the answers I found seem to be vague in the details
and explanation.
I have the package added to an internal yum repo. OS is Centos 5.4.
2010 Jul 22
3
File /etc/yum.conf does not contain a main section
...um.conf contains this. What''s wrong with that? Is
puppet smoking crack?
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
# Note: yum-RHN-plugin doesn''t honor this.
metadata_expire=1h
installonly_limit = 5
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Doug.
--
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 un...
2010 Jul 12
2
"yum update": When is new header data downloaded? (Trying to set up custom repository...)
I'm trying to set up a custom rpm respository for some in-house
software, and configure a number of CentOS 5 clients so that they may
install and update the software in question from the location in
question. I think I've mostly figured out how to do this - I've
successfully installed software on one of the clients via "yum install
<my package>" after adding an
2007 May 08
0
yum can't connect to mirrors
...ontrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
#rpm -q yum
yum-3.0.5-1.el5.centos.2
2010 May 19
2
Created a custom/minimal CentOS 5.x install ISO
Hi all,
I'd like to try rolling a somewhat stripped down and customized
CentOS DVD. This is particularly interesting to me now that CentOS 5.5
is 2 DVDs. I dare not call it a new distro as I suspect I will be the
only one to use it. ;)
I've been googling for ways to do this, figuring it must be somewhat
straight forward, but my google-fu is weak it seems. Can someone point
me