diff --git a/templates/ceph.conf b/templates/ceph.conf index 9f2c8144..eb1c3a24 100644 --- a/templates/ceph.conf +++ b/templates/ceph.conf @@ -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 -%}