Render crush-initial-weight option if set to 0
Fixes the conditional in the ceph.conf template so it renders the crush-initial-weight config option if set to 0. Change-Id: Iaecbdf52bd3731effa3132e61364918407116dbe Closes-Bug: 1764077
This commit is contained in:
parent
a21be9a7ab
commit
5ea1973062
|
@ -33,7 +33,7 @@ crush location = {{crush_location}}
|
|||
{%- if upgrade_in_progress %}
|
||||
setuser match path = /var/lib/ceph/$type/$cluster-$id
|
||||
{%- endif %}
|
||||
{%- if crush_initial_weight %}
|
||||
{%- if crush_initial_weight is not none %}
|
||||
osd crush initial weight = {{ crush_initial_weight }}
|
||||
{%- endif %}
|
||||
{% if global -%}
|
||||
|
|
Loading…
Reference in New Issue