]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add a validate function to Packager
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 20 Jan 2022 19:46:03 +0000 (14:46 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 20 Jan 2022 21:30:17 +0000 (16:30 -0500)
commit266e3f466700a88bcea4de907d515d94ce914b4f
tree0feed7855b19d8a966322ea1894ac5b59958e86f
parente73755faa10bed384772d2d71b1a556a5f38213e
cephadm: add a validate function to Packager

The validate function is for testing the inputs to the Packager
subclasses independently of writing the configuration to disk.
It only raises an exception upon failed validation.
Use it for the existing YumDnf validation exceptions.

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