Re: [Puppet Users] dependencies

Michael DeHaan
Thu, 18 Mar 2010 15:41:11 -0000

On Thu, Mar 18, 2010 at 10:25 AM, Todd Zullinger <tmz@pobox.com>
wrote:
> Michael DeHaan wrote:
>> 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?
>
> This might be nice for installs, but what happens when someone wants to
> remove a group?  Using yum groupremove isn''t the inverse of
> groupinstall.  This can easily remove far more than users intend,
> especially if you don''t realize that groupremove isn''t
the exact
> opposite of groupinstall.

Indeed, you almost never want to do "yum groupremove" as you may be
removing
things that "yum groupinstall" didn''t add.

I think it would be a documentation item, with notable skull and
crossbones about it.