mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Gate zfs grain on Windows
This commit is contained in:
parent
89b09912e1
commit
fbc2c0c2a3
@ -45,6 +45,9 @@ def __virtual__():
|
||||
'''
|
||||
# NOTE: we always load this grain so we can properly export
|
||||
# at least the zfs_support grain
|
||||
# except for Windows... don't try to load this on Windows (#51703)
|
||||
if salt.utils.platform.is_windows():
|
||||
return False, 'ZFS: Not available on Windows'
|
||||
return __virtualname__
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user