puppetlabs/puppet — pull request #1011 by joshcooper (2012-08-08 19:06:17+00:00)
Title: (#9416) Add support for zfs & zpool types on platforms other than Solaris

These changes are based on work by Marc Fournier in PR #675.

Previously the zfs and zpool providers were confined to only run on Solaris and hardcoded the location of the zfs and zpool commands.

These commits rename the provider to not be Solaris-specific and are confined based on the presence of the commands in puppet's PATH.

These commits also add tests and eliminate much of the stubbing that was present previously.