mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #42654 from morganwillcock/zfsgrain
Disable ZFS in the core grain for NetBSD
This commit is contained in:
commit
8bcefb5e67
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