On Jan 25, 2012, at 11:10 AM, jimbob palmer wrote: > Hello, > > What's the best way of handling package installs that rely on a yum > repository, which in turn relies on a gpg key? > > At the moment I have only RHEL6 boxes which have a few yumrepos > defined and a few packages installed. The yumrepos in turn rely on an > rpm-gpg key. > > I now need to add some RHEL5 boxes. The repos contain the major > version name and require a different rpm-gpg key. > > I could hack around with some variables in the yumrepos module but > this seems dirty. > > How are others handling this situation? > http://cern.ch/go/Cq7D Is an example of a case statement setting a yum path based on OS version,yum can pull in gpg direct from a remote URL rather than pushing it to the box first which is then one less step for puppet to handle.
Steve. > Thanks. > > -- > 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. > -- 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.