That will actually create two resources that are installed separately.
>
> I hope it helps.
> -Stephane
>
>
> On Jan 11, 3:09 am, Adriana <adriana.tele...@gmail.com> wrote:
>> Hello,
>> does anyone know if featurehttp://projects.puppetlabs.com/issues/2198
>> had been implemented and how it is possible to use it?
>> I would like to install multiple packages with one single call the the
>> yum packager.
>> Can anyone help me?
>> Thanks
>> Adriana
>
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
>
Unfortunately RedHat will blacklist systems that run yum too often so
you either must:
1) Not manage packages with circular dependencies using puppet. This is
what I've opted to do, although I find it unfortunate since puppet would
be my preferred venue to do this kind of thing otherwise.
2) Use the yum-driven options *AND* run your own satellite server so you
can ping it as often as you like. This is possible but is a not
insignificant amount of unnecessary work.
3) Use the yum-driven options and reduce the frequency of puppet-runs to
a few times per day in order to stay below the RedHat's abuse threshold.
4) Use rpm -i exec's instead of the package provider.
While these workarounds are all feasible, none of them are nearly as
desirable as batched transactions that properly support circular
dependencies. I know Luke has also expressed his opinion that this is
an upstream problem that affects an insignificant number of users
(http://projects.puppetlabs.com/issues/1935), but I would *really* like
to see this patch land. Between bugs 1935, 4893, 3156, 2198, and this
thread, it looks like at least 8 people have reported this affecting
them over the last two years. The batchable transactions fix is
straightforward, improves performance of puppet-runs, and has no
downside that has been discussed in its bug.
Cheers,
Mike Lococo
Or is Puppet Labs saying that they really only want to design a system
that works with non-Red Hat derived Linux distros? Should I be looking
to rip out Puppet and find something that is more open to working with
my OS of choice, like Chef? What else does Puppet Labs not like about
Red Hat Linux that I don't know about yet?
Marc Zampetti
Marc,
I get the impression that you're getting quite agitated about this
issue. That is entirely uncalled for.
If this is something that you are interested in, it would be more
constructive to register with redmine and vote for / watch the
respective bugs.
Felix
You don't need a Satellite Server for this, just a plain Yum server will
do, which is essentially just httpd + createrepo for RHEL5. This is
about 2 seconds worth of work. You can then send down a custom Yum
repository configuration with the Yumrepo[] type, something that is
unique in Puppet to RHEL-based systems.
In fact, I find that Puppet supports RHEL-based system best, as it has
the most types for that system.
I couldn't imagine doing any RPM package installation with an RPM type.
Everything should come down from a Yum server, if only for version and
dependency management.
Cheers,
Avi
I don't follow this. RedHat doesn't make binary packages available, so
what do you fill your yum repo with?
Also, I definitely understand that there are ways to work around this
bug. But there's also clearly interest in getting it fixed, as
evidenced by a community-submitted patch, and interest in using the
feature if/when its released as evidence by the number of folks who have
reported it and by the strong feelings in this thread.
> I couldn't imagine doing any RPM package installation with an RPM type.
> Everything should come down from a Yum server, if only for version and
> dependency management.
We have been discussing the yum provider all along, it makes use of the
rpm command for certain operations. For example, rpm is used implement
"ensure => absent" package removals, and I believe also to check whether
the package is installed before running yum when "ensure => present" is
specified.
Using rpm for these operations is good because it saves unnecessary load
on the yum server. However, without batched transactions some packages
cannot be removed without specifying "ensure => purged" and incurring
the yum hit for every puppet-run, and then using one of the workarounds
I previously discussed to avoid getting blacklisted by RedHat. Plus the
performance of one-yum-run per package is terrible, both in terms of
long puppet-runs and load on the yum-server.
Regards,
Mike Lococo