]> 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>
Thu, 3 Feb 2022 14:57:55 +0000 (09:57 -0500)
commit46cfcc7bf6bd0eae947c78ca86d9ad3df5d8138e
treec76ff217509ab79d511c1dcacd893010db8111f3
parent81ec2d407c57513b5c6aee9a380c7b8472f260d1
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