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)
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)