]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
add 'custom' as valid ceph_repository value
authorJustin Riley <justin.t.riley@gmail.com>
Fri, 21 Dec 2018 02:33:05 +0000 (21:33 -0500)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 2 Jan 2019 09:58:08 +0000 (09:58 +0000)
This is documented as valid:

https://github.com/ceph/ceph-ansible/blob/561746f75e3913b30e6ae3f14768ebc8a516bf66/group_vars/all.yml.sample#L245

Signed-off-by: Justin Riley <justin.t.riley@gmail.com>
plugins/actions/validate.py

index 90f47c18ed7920a0774c577be0a9bdbd1c16251c..e32c926ab6be940b4dbe01e292f19767855ae783 100644 (file)
@@ -164,7 +164,7 @@ def ceph_origin_choices(value):
 
 
 def ceph_repository_choices(value):
-    assert value in ['community', 'rhcs', 'dev'], "ceph_repository must be either 'community', 'rhcs' or 'dev'"
+    assert value in ['community', 'rhcs', 'dev', 'custom'], "ceph_repository must be either 'community', 'rhcs', 'dev', or 'custom'"
 
 
 def ceph_repository_type_choices(value):