Unfortunately thats a limitation of RPM which has been worked around
with YUM. YUM will do the resolution of dependencies if they are also
in one of the repositories configured on the system.

On Jan 13, 4:09 pm, donavan <dona...@desinc.net> wrote:
> 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.

Reply via email to