Geoff
2010-Sep-16 13:05 UTC
[Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?
How do you do it with puppet? I''m attempting to automate the install of an Oracle RAC and the installer requires a whole raft of 32bit rpms even on a 64bit OS. Easy enough via: up2date --arch i386 xorg-x11-deprecated-libs But I can''t find any option to pass the --arch option to the up2date puppet package provider? There have been previous posts on this topic and people seem to use a kludgy ''exec'' to get around this. I want dependency resolution so ''exec'' is not a good option. Regards, Geoff Linuxsolve Ltd. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Ryan Dooley
2010-Sep-16 17:24 UTC
Re: [Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?
I''ve not actually tried but I would think you should be able to do something like: package { "foo.i386": { ensure => latest ; } } I know yum understands the syntax of: yum install foo.i386 (or foo.x86_64). Cheers, Ryan On 9/16/2010 6:05 AM, Geoff wrote:> How do you do it with puppet? > I''m attempting to automate the install of an Oracle RAC and the > installer requires a whole raft of 32bit rpms even on a 64bit OS. > > Easy enough via: up2date --arch i386 xorg-x11-deprecated-libs > > But I can''t find any option to pass the --arch option to the up2date > puppet package provider? > > There have been previous posts on this topic and people seem to use a > kludgy ''exec'' to get around this. > I want dependency resolution so ''exec'' is not a good option. > > Regards, > > Geoff > Linuxsolve Ltd. >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
James Cammarata
2010-Sep-16 18:53 UTC
Re: [Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?
On Thu, 16 Sep 2010 10:24:38 -0700, Ryan Dooley <ryan.dooley@gmail.com> wrote:> I''ve not actually tried but I would think you should be able to do > something like: > > package { > "foo.i386": { ensure => latest ; } > } > > I know yum understands the syntax of: yum install foo.i386 (orfoo.x86_64).> > Cheers, > RyanThe problem is, up2date doesn''t understand the package.arch syntax, only yum does. There is a bug filed on this, and I''ve submitted a patch to make the up2date provider recognize the package.arch naming, and to split it off so it will do up2date --arch instead - just waiting for it to be accepted (which I don''t think has happened yet) and applied to the next version release. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Avi Miller
2010-Sep-16 20:34 UTC
Re: [Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?
Hi Geoff, On 16/09/10 11:05 PM, Geoff wrote:> I''m attempting to automate the install of an Oracle RAC and the > installer requires a whole raft of 32bit rpms even on a 64bit OS.Why not use the oracle-validated[1] metapackage to pull in all the requirements? It''s much simpler. Cheers, Avi [1] http://oss.oracle.com/el5/oracle-validated/ -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.