On Jan 12, 1:45 pm, Stephane <sros...@gmail.com> wrote: > You could do something like following: > $wantedpackages = [ "perl-DBI", "perl-DBD-MySQL" ] > package { $wantedpackages: ensure => installed } > > In one call, we install 2 packages.
Stephane, the problem is with requirements inside the rpms. If a.rpm require b.rpm, and b.rpm requires a.rpm, there's no way to install those with the puppet Package type currently. Puppet will try to evaluate both Package[a] and Package[b] separately, calling `rpm -i a` and then `rpm -i b`. Both of those transactions will fail with missing dependencies. The mentioned patch would evaluate both resources at the same time using `rpm -i a b`, which would work. -- 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.