Merge pull request #379 from andymcc/device_check_group

Check to ensure device checks only happen on osds
pull/380/head
Leseb 2015-08-17 13:52:09 +02:00
commit 792f839f07
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@
fail: msg="please choose an osd scenario"
when:
osd_group_name is defined and
osd_group_name in group_names and
not journal_collocation and
not raw_multi_journal and
not osd_directory
@ -42,6 +43,7 @@
fail: msg="please select only one osd scenario"
when:
osd_group_name is defined and
osd_group_name in group_names and
((journal_collocation and raw_multi_journal) or
(journal_collocation and osd_directory) or
(raw_multi_journal and osd_directory))
@ -50,6 +52,7 @@
fail: msg="please provide devices to your osd scenario"
when:
osd_group_name is defined and
osd_group_name in group_names and
journal_collocation and
devices is not defined
@ -57,6 +60,7 @@
fail: msg="please provide devices to your osd scenario"
when:
osd_group_name is defined and
osd_group_name in group_names and
raw_multi_journal and
(raw_journal_devices is not defined or
devices is not defined)