Hi, we tried to do it with puppet a few times, but at the end what we do is: (for example on a redhat system) check if /var/lib/rpm/Packages has changed if it has, it probably means that a package has been installed. if it has, then execute a script which compares the 32bit and 64bit packages, install them if they are missing.
e.g. in puppet language: file { "/var/lib/rpm/Packages": checksum => md5 } exec { "install missing 32bit packages": # only start if there are any changes in the packagelist subscribe => File["/var/lib/rpm/Packages"], refreshonly => true, ... } maybe there is a easier way to do that, but this was the only one way that worked also with old versions of yum etc. Ohad On Tue, Aug 4, 2009 at 2:01 PM, Matt Delves <m.del...@ballarat.edu.au>wrote: > > Hey folks, > For some of the systems I administer, I'm wanting to use puppet to make > sure that the correct packages are installed. For one particular > instance this would for an oracle database server. What I require is > that both 32bit and 64bit versions of particular packages are present. > > 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 > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---