cephconfig: change order of written sections
in order to group related sections together. Additionally, sections that are associated with the client, for example '[client.foo]', are written directly after the '[client]' section. Signed-off-by: Max Carrara <m.carrara@proxmox.com> Tested-by: Friedrich Weber <f.weber@proxmox.com>
This commit is contained in:
committed by
Fabian Grünbichler
parent
8777f4a600
commit
f9d9bd3223
@ -82,16 +82,20 @@ sub write_ceph_config {
|
|||||||
|
|
||||||
my @rexprs = (
|
my @rexprs = (
|
||||||
qr/global/,
|
qr/global/,
|
||||||
|
|
||||||
qr/client/,
|
qr/client/,
|
||||||
|
qr/client\..*/,
|
||||||
|
|
||||||
qr/mds/,
|
qr/mds/,
|
||||||
qr/mon/,
|
|
||||||
qr/osd/,
|
|
||||||
qr/mgr/,
|
|
||||||
|
|
||||||
qr/mds\..*/,
|
qr/mds\..*/,
|
||||||
|
|
||||||
|
qr/mon/,
|
||||||
qr/mon\..*/,
|
qr/mon\..*/,
|
||||||
|
|
||||||
|
qr/osd/,
|
||||||
qr/osd\..*/,
|
qr/osd\..*/,
|
||||||
|
|
||||||
|
qr/mgr/,
|
||||||
qr/mgr\..*/,
|
qr/mgr\..*/,
|
||||||
|
|
||||||
qr/.*/,
|
qr/.*/,
|
||||||
|
|||||||
Reference in New Issue
Block a user