Puppet’s package type doesn’t (currently) support yum’s “grouplist” options for various reasons.  It can still be useful to leverage the yum groups in some cases and like many workarounds in Puppet we can leverage the exec type.

Update: 2016-03-23

CERIT Scientific Cloud nicely wrapped the exec in a module and published it on the Puppet Forge.  If you use their module you can now use the following syntax: