mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43730 from eradman/openbsd_zfs
Skip ZFS module check on OpenBSD
This commit is contained in:
commit
d6c2fc0462
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ def __virtual__():
|
|||
) == 0:
|
||||
return 'zfs'
|
||||
|
||||
if __grains__['kernel'] == 'OpenBSD':
|
||||
return False
|
||||
|
||||
_zfs_fuse = lambda f: __salt__['service.' + f]('zfs-fuse')
|
||||
if _zfs_fuse('available') and (_zfs_fuse('status') or _zfs_fuse('start')):
|
||||
return 'zfs'
|
||||
|
|
Loading…
Add table
Reference in a new issue