Ejemplo n.º 1
0
def keyring_purge(**kwargs):
    '''
    Delete keyring for cluster

    CLI Example:

    .. code-block:: bash

        salt '*' ceph.keyring_purge \\
                'keyring_type'='admin' \\
                'cluster_name'='ceph' \\
                'cluster_uuid'='cluster_uuid'

    keyring_type (required)
        One of ``admin``, ``mon``, ``osd``, ``rgw``, ``mds``

    cluster_uuid
        The cluster UUID. Defaults to value found in ceph config file.

    cluster_name
        The cluster name. Defaults to ``ceph``.

    If no ceph config file is found, this command will fail.
    '''
    return ceph_cfg.keyring_purge(**kwargs)
Ejemplo n.º 2
0
def keyring_purge(**kwargs):
    """
    Delete keyring for cluster

    CLI Example:

	.. code-block:: bash

        salt '*' ceph.keyring_purge \\
                'keyring_type'='admin' \\
                '[mds.]\n\tkey = AQA/vZ9WyDwsKRAAxQ6wjGJH6WV8fDJeyzxHrg==\n\tcaps mds = \"allow *\"\n' \\
                'cluster_name'='ceph' \\
                'cluster_uuid'='cluster_uuid'
    Notes:

    keyring_type
        Required paramter
        Can be set to:
            admin, mon, osd, rgw, mds

    cluster_uuid
        Set the cluster UUID. Defaults to value found in ceph config file.

    cluster_name
        Set the cluster name. Defaults to "ceph".

    If no ceph config file is found, this command will fail.
    """
    return ceph_cfg.keyring_purge(**kwargs)
Ejemplo n.º 3
0
def keyring_purge(**kwargs):
    '''
    Delete keyring for cluster

    CLI Example:

    .. code-block:: bash

        salt '*' ceph.keyring_purge \\
                'keyring_type'='admin' \\
                'cluster_name'='ceph' \\
                'cluster_uuid'='cluster_uuid'
    Notes:

    keyring_type
        Required paramter
        Can be set to:
            admin, mon, osd, rgw, mds

    cluster_uuid
        Set the cluster UUID. Defaults to value found in ceph config file.

    cluster_name
        Set the cluster name. Defaults to "ceph".

    If no ceph config file is found, this command will fail.
    '''
    return ceph_cfg.keyring_purge(**kwargs)
Ejemplo n.º 4
0
def keyring_purge(**kwargs):
    '''
    Delete keyring for cluster

    CLI Example:

    .. code-block:: bash

        salt '*' ceph_cfg.keyring_purge \\
                'keyring_type'='admin' \\
                'cluster_name'='ceph' \\
                'cluster_uuid'='cluster_uuid'
    Notes:

    keyring_type
        Required paramter
        Can be set to:
            admin, mon, osd, rgw, mds

    cluster_uuid
        Set the cluster UUID. Defaults to value found in ceph config file.

    cluster_name
        Set the cluster name. Defaults to "ceph".

    If no ceph config file is found, this command will fail.
    '''
    return ceph_cfg.keyring_purge(**kwargs)