File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/zfs.cpython-310.pyc
o
�N�g�� � @ s d Z ddlZddlZddlZddlZddlZddlZddlm Z dZ
e�e�Z
ddiZdd� Zd d
� Zdd� Zd
d� Zdd� Zd0dd�Zdd� Zd0dd�Zdd� Zdd� Zd0dd�Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Z d*d+� Z!d,d-� Z"d.d/� Z#dS )1a�
Module for running ZFS command
:codeauthor: Nitin Madhok <nmadhok@g.clemson.edu>, Jorge Schrauwen <sjorge@blackdot.be>
:maintainer: Jorge Schrauwen <sjorge@blackdot.be>
:maturity: new
:depends: salt.utils.zfs
:platform: illumos,freebsd,linux
.. versionchanged:: 2018.3.1
Big refactor to remove duplicate code, better type conversions and improved
consistency in output.
� N)�OrderedDictZzfs�list_�listc C s t �d�rtS dS )z5
Only load when the platform has zfs support
Zzfs_support)Fz2The zfs module cannot be loaded: zfs not supported)Z
__grains__�get�__virtualname__� r r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/zfs.py�__virtual__"