mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Disable ZFS grain on NetBSD
This commit is contained in:
parent
5baf2650fc
commit
49023deb94
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user