Is there a way to specify this? Also, can ralsh be used to identify both
the 32bit and 64bit versions which are installed as well as just the
package name?
Thanks,
Matt Delves
If you're using Yum as the provider, yes:
package { "package.i386": ensure => latest, provider => "yum" }
package { "package.x86_64": ensure => latest, provider => "yum" }
Works fine on my test system.
Also, if you're interested in getting all the pre-requisite RPMs for
Oracle, why not just use the oracle-validated RPM:
http://oss.oracle.com/el5/oracle-validated/
This will also create the oracle user and oinstall/dba groups, as well
as set sysctl.conf and limits.conf and everything else that usually has
to be done manually before you can install Oracle. :)
cYa,
Avi
Yum just pulls in the various dependencies automatically for me. Seems
to work fine just specifying the target RPM.
cYa,
Avi
> This will also create the oracle user and oinstall/dba groups, as well
> as set sysctl.conf and limits.conf and everything else that usually has
> to be done manually before you can install Oracle. :)
Except, in my case, puppet controls those files :)
--
Brian Akins
Yum certainly handles this.
What I have done in the past is store the 64 and 32-bit RPMs in the
same repository. yum install <package> then grabs both unless you
explicitly override the arch. (To be honest, this bit me in the ass
with an install and then I realised that it was a useful trick.)
Correct -- but that's a fault of the RPM package, not Puppet, i.e. just
doing a yum install <package> would have the same result.
cYa,
Avi