]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add fetch_custom_config_files function
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 19:34:09 +0000 (15:34 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 20:35:34 +0000 (16:35 -0400)
commit44ce35e2390120bf2d9c1cefbbe50f7d2b7cbcbc
tree202276c5e97d5179e308e3601dd450ffbce5fd57
parent389368d48527af74fda3bfb37251a9fb3c47b1dc
cephadm: add fetch_custom_config_files function

This function works similarly to get_custom_config_files but doesn't
require the use of "ctx.config_json" and will prefer sourcing the
data from `config_blobs`.
This function also returns the list of dicts rather than return a dict
with exactly one key which maps to said list of dicts. There appeared
to be no benefit to that when the call sites of get_custom_config_files
was examined.

This function is `fetch_configs` evil twin.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py