add auth-supported config option
This commit is contained in:
parent
7bcd20d783
commit
336ba2a9a3
@ -6,6 +6,15 @@ options:
|
|||||||
.
|
.
|
||||||
This configuration element is mandatory and the service will fail on
|
This configuration element is mandatory and the service will fail on
|
||||||
install if it is not provided.
|
install if it is not provided.
|
||||||
|
auth-supported:
|
||||||
|
type: string
|
||||||
|
default: cephx
|
||||||
|
description: |
|
||||||
|
Which authentication flavour to use.
|
||||||
|
.
|
||||||
|
Valid options are "cephx" and "none". If "none" is specified,
|
||||||
|
keys will still be created and deployed so that it can be
|
||||||
|
enabled later.
|
||||||
monitor-secret:
|
monitor-secret:
|
||||||
type: string
|
type: string
|
||||||
description: |
|
description: |
|
||||||
|
@ -33,6 +33,7 @@ def install():
|
|||||||
|
|
||||||
def emit_cephconf():
|
def emit_cephconf():
|
||||||
cephcontext = {
|
cephcontext = {
|
||||||
|
'auth_supported': utils.config_get('auth-supported'),
|
||||||
'mon_hosts': ' '.join(get_mon_hosts()),
|
'mon_hosts': ' '.join(get_mon_hosts()),
|
||||||
'fsid': utils.config_get('fsid'),
|
'fsid': utils.config_get('fsid'),
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[global]
|
[global]
|
||||||
auth supported = cephx
|
auth supported = {{ auth_supported }}
|
||||||
keyring = /etc/ceph/$cluster.$name.keyring
|
keyring = /etc/ceph/$cluster.$name.keyring
|
||||||
mon host = {{ mon_hosts }}
|
mon host = {{ mon_hosts }}
|
||||||
fsid = {{ fsid }}
|
fsid = {{ fsid }}
|
||||||
|
Loading…
Reference in New Issue
Block a user