]> 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)
committerAdam King <adking@redhat.com>
Fri, 28 Jan 2022 16:31:05 +0000 (11:31 -0500)
commit5be01b9ae439a3d3302692a3081eb653ef4d7576
treec5912ce8a5e4eb8feae04469dcae4166d5a84dd5
parentcc94012ba104463a818c23889603ecb3510967d9
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