Katello/katello — pull request #590 by bbuckingham (2012-09-05 21:00:39+00:00)
Title: 852631 - system group - update to raise exception when no groups exist

This commit contains changes so that if the user invokes an action
(e.g. pkg install) on a system group that has no members, they will
receive an error message.

From the UI, this might look like:
"Install of Packages 'xterm' scheduled for System Group 'group2'
failed. Reason: System group is empty."

From the CLI, this might look like:
katello> system_group packages --org myorg --name grp1 --install xterm
System group is empty.