puppetlabs/puppet — pull request #1078 by vrthra (2012-08-28 21:53:15+00:00)
Title: (#16157) fix zpool subcommands

Previously, `puppet apply -e "zpool{mypool: mirror=>[dsk1,dsk2]}" ` would fail with invalid vdev because puppet was trying to execute `zpool create mypool mirror dsk1 mirror dsk2`. This is wrong, and the command should be `zpool create mypool mirror dsk1 dsk2`. This patch fixes it.

removes messages from zpool printed on stderr during checking for status of pools.

Fails rather than warn on properties that are not in sync to avoid repeated application of catalog.