def mon_active(**kwargs): ''' Returns ``True`` if the mon daemon is running, otherwise ``False`` CLI Example: .. code-block:: bash salt '*' ceph.mon_active \\ 'cluster_name'='ceph' \\ 'cluster_uuid'='cluster_uuid' cluster_uuid The cluster UUID. Defaults to value found in ceph config file. cluster_name The cluster name. Defaults to ``ceph``. ''' return ceph_cfg.mon_active(**kwargs)
def mon_active(**kwargs): ''' Is mon deamon running CLI Example: .. code-block:: bash salt '*' ceph.mon_active \\ 'cluster_name'='ceph' \\ 'cluster_uuid'='cluster_uuid' Notes: cluster_uuid Set the cluster UUID. Defaults to value found in ceph config file. cluster_name Set the cluster name. Defaults to "ceph". ''' return ceph_cfg.mon_active(**kwargs)