saltstack/salt — pull request #6317 by chrisgilmerproj (2013-07-25 22:02:55+00:00)
Title: Allow space delimited lists for targeting

In cases where you may want to take the output of one command and use it for targeting with salt you may find that comma-delimited is too restrictive. This change allows you to use commas or spaces as your delimiter. It should have identical usage otherwise.

Example:

$ HOSTS=$( get_host_list )
$ echo $HOSTS
host1
host2
$ salt -L "$HOSTS" test.ping