"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "salt/grains/zfs.py" between
salt-2019.2.0.tar.gz and salt-2019.2.1.tar.gz

About: SaltStack is a systems management software for data center automation, cloud orchestration, server provisioning, configuration management and more. Community version.

zfs.py  (salt-2019.2.0):zfs.py  (salt-2019.2.1)
skipping to change at line 47 skipping to change at line 47
} }
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
def __virtual__(): def __virtual__():
''' '''
Load zfs grains Load zfs grains
''' '''
# NOTE: we always load this grain so we can properly export # NOTE: we always load this grain so we can properly export
# at least the zfs_support grain # 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__ return __virtualname__
def _zfs_pool_data(): def _zfs_pool_data():
''' '''
Provide grains about zpools Provide grains about zpools
''' '''
grains = {} grains = {}
# collect zpool data # collect zpool data
zpool_list_cmd = __utils__['zfs.zpool_command']( zpool_list_cmd = __utils__['zfs.zpool_command'](
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)