Don''t manage the ''yumrepo'' type if you don''t
want it to override the rpmforge.repo as this *is* what it does.
Regards,
Arjuna Christensen | Systems Engineer
Maximum Internet Ltd
7a Parkhead Pl, Albany, North Shore, 0632 | PO Box 8006, Auckland, 1150, NZ
DDI: + 64 9 913 9683 | Ph: +64 9 915 1825 | Fax:: +64 9 300 7227
arjuna.christensen@maxnet.co.nz| www.maxnet.co.nz
________________________________
Maxnet | mission critical internet
________________________________
This email (including any attachments) is confidential and intended only for the
person to whom it is addressed.
If you have received this email in error, please notify the sender immediately
and erase all copies of this message
and attachments. The views expressed in this email do not necessarily reflect
those held by Maxnet.
-----Original Message-----
From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com]
On Behalf Of Dave Alden
Sent: Monday, 11 February 2008 12:16 p.m.
To: puppet-users@madstop.com
Subject: [Puppet-users] bug in yumrepo type?
Hi,
I''ve recently started to use the ''yumrepo'' type,
but I think I may have
found a bug. I have the following:
package {
"rpmforge-release":
ensure => "present";
}
yumrepo {
"rpmforge":
priority => 10,
require => Package["rpmforge-release"];
}
If I run puppetd, it installs rpmforge-release, but then overwrites the
rpmforge.repo file that just got installed with:
[rpmforge]
priority=10
This is what I''d expect if the file didn''t exist, but the
package creates
the file. Is this a bug, or just my misunderstanding of how things should
work? :)
...dave
--
Dave Alden
The Ohio State University
Department of Mathematics
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users