On Jan 26, 8:56 am, jimbob palmer <jimbobpal...@gmail.com> wrote:
> Say you have a RHEL6 environment. You have some packages you want
> installed, these rely on a yumrepo. That yumrepo relies on an rpm-gpg key
> being installed.
>
> Now you get some RHEL5 boxes to add to the network. Your yumrepo RHEL6.2
> with a dependency on the RHEL6 signing key now causes a problem: all of the
> rpms you need are the same, but those rpms rely on the RHEL6.2 yumrepo
> which is wrong, and that relies on the RHEL6 signing key which is wrong too.
>
> What approach do you use?

Option 1: define separate Yumrepos for the RHEL5 repositories, with
appropriate dependencies, and define Packages' Yumrepo dependencies
conditionally based on OS release.

Option 2: define the Yumrepo properties conditionally based on OS
release.

Which of these best suits may depend on what work you have already
done.  Surely you are not declaring RHEL6 Yumrepos for your RHEL5
boxes (or else fix that!), so just make your Packages 'require' the
Yumrepos that you are actually declaring.  That's the essence of both
options.


John

-- 
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