mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Disable ZFS grain on NetBSD
This commit is contained in:
parent
5baf2650fc
commit
49023deb94
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue