예제 #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)