示例#1
0
文件: ceph.py 项目: morinap/salt-1
def partition_is(dev):
    '''
    Check whether a given device path is a partition or a full disk.

    CLI Example:

    .. code-block:: bash

        salt '*' ceph.partition_is /dev/sdc1
    '''
    return ceph_cfg.partition_is(dev)
示例#2
0
def partition_is(dev):
    '''
    Check whether a given device path is a partition or a full disk.

    CLI Example:

    .. code-block:: bash

    salt '*' ceph_cfg.partition_is /dev/sdc1

    '''
    return ceph_cfg.partition_is(dev)