Issue #11995 has been updated by Charlie Wyse.
That is a very good point and explains why it wasn't in there yet. Some code around doing a "yum groupinfo <%= GROUP NAME %>" then searching for any packages listed under "Mandatory Packages". Finally using the regular rpm check on each package listed would be necessary. So it is possible for a more advanced ruby programmer than I. Currently I'm just using an exec string to get the job done, or I guess since 'MRG Grid' only needs 3 packages I could make there separate package lines. But this feature would be very helpful to many admins that would like to have a desktop class that installs 'GNOME Desktop' or in my case a server group that needs MRG. ---------------------------------------- Bug #11995: Add group install to Package https://projects.puppetlabs.com/issues/11995 Author: Charlie Wyse Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: puppet-2.6.12-1 This is my first ticket so if I do anything wrong let me know. When trying to install a package group in Red Hat 6, I get a failure. I don't think puppet understands package groups. Could this be added to the package feature? My manifest: package { 'MRG Grid': ensure => present, } Error: err: /Stage[main]/Mrg/Package[MRG Grid]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install MRG Grid' returned 1: Error: Nothing to do If the package could have a command to encapsulate anything in the naming list like 'MRG Grid' and change install to groupinstall, this should do the trick. Example: '/usr/bin/yum -d 0 -e 0 -y groupinstall "MRG Grid"' Anyhow, as I said this is my first ticket so let me know what I can do to help move this along without any helpful knowledge in ruby programming. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
