]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add placementspec for which hosts get ceph.conf
authorSage Weil <sage@newdream.net>
Tue, 20 Apr 2021 16:58:13 +0000 (12:58 -0400)
committerSage Weil <sage@newdream.net>
Tue, 4 May 2021 16:21:57 +0000 (11:21 -0500)
commit4a3347c1c6e447afacef08adc5316759d7516f29
tree850abb2a73f66096536e532c4d4cb9b85b34308f
parent5e5ca94eb71b7ca28bbd80bcd120fc6826e05999
mgr/cephadm: add placementspec for which hosts get ceph.conf

Add a config option to control which hosts (by default, *) get a
ceph.conf (if the bool manage_etc_ceph_ceph_conf option is enabled).

We don't modify the existing option because changing a type makes for a
messy migration: we have to sort out which section the config option is
in to change it.  Also, a simple on/off which is more friendly than
specifying "*" to enable something.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit f1096030d9b6caeeaf7c1982b770b5f3fbe913bc)
doc/cephadm/operations.rst
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py