On 2010-05-28 15:19, ed-rfmd wrote:
package { "libXp-32bit":
provider => rpm,
source => "$kickstart/ICAClient/RHEL5/
libXp-1.0.0-8.1.el5.i386.rpm",
ensure => installed,
}
package { "openmotif-32bit":
provider => rpm,
source => "$kickstart/ICAClient/RHEL5/
openmotif-2.3.1-2.el5_4.1.i386.rpm",
ensure => installed,
require => Package["libXp-32bit"],
}
Why is it attempting to install libXp again? Shouldn't the ensure =>
installed prevent that from happening? Or does it have something to do
with the fact it is a duplicate package name but with a different
architecture?
Because the package type uses the name you have specified to see
if the package is already installed. The packages are not really
named "libXp-32bit" and "openmotif-32bit", are they? They are
more likely named "libXp.i386" and "openmotif.i386"; use that as
package names, and it should work better.
/Bellman
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@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.