ceph-osd: change jinja condition

If an existing cluster runs this config, and has ceph-disk OSD, the
`expose_partitions` won't be expected by jinja since it's inside the
'old' if. We need it as part of the osd_scenario != 'lvm' condition.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1640273
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit bef522627e)
pull/3415/head
Sébastien Han 2018-11-27 17:50:44 +01:00 committed by mergify[bot]
parent 729744c6a8
commit 1151521784
1 changed files with 2 additions and 1 deletions

View File

@ -52,10 +52,11 @@ function expose_partitions {
fi
}
{% endif -%}
expose_partitions "$1"
{% endif -%}
{% endif -%}
########