On Wed, Mar 17, 2010 at 7:35 PM, Christopher Johnston
<[email protected]> wrote:
> I guess my only gripe here is I have about 2 dozen modules most of install
> some form of a pkg from yum. So they all have a direct dependency on my yum
> module to do the right thing. I would hate to have to put a require in
> every single instance that I call the method to install a pkg. Any ideas on
> on how to simplify this to ensure yum is the very first thing that gets
> configured on my system?
> require => [ Class["yum"],
>
What if we taught the yum provider to know about "yum groupinstall" ?
That way you could add packages into comps.xml and reference them
together, which would also be faster than referencing each one by one.
While it would not technically be a 'package' this might be also a
decent workaround solution to the 'yum transactions are not batched'
problem.
package { "stuff"
ensure => latest,
is_group => true,
...
}
Thoughts?
--Michael
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.