Disable ZFS grain on NetBSD

This commit is contained in:
Morgan Willcock 2017-07-31 21:17:35 +01:00
parent 5baf2650fc
commit 49023deb94

View File

@ -2351,6 +2351,10 @@ def _zpool_data(grains):
if salt.utils.is_windows() or 'proxyminion' in __opts__:
return {}
# quickly return if NetBSD (ZFS still under development)
if salt.utils.is_netbsd():
return {}
# quickly return if no zpool and zfs command
if not salt.utils.which('zpool'):
return {}