add defalut value for rbd_stats
Related-Prod: PROD-35559
Change-Id: I1b4141f9fe8c7734cf620a001f902e7a7353bdb2
diff --git a/ceph/mgr.sls b/ceph/mgr.sls
index 9aa1799..c30cb7d 100644
--- a/ceph/mgr.sls
+++ b/ceph/mgr.sls
@@ -128,7 +128,7 @@
{%- if common.version not in ['jewel','kraken','luminous'] and setup.pool is defined %}
{%- set rbd_pools=[] %}
{%- for pool_name, pool in setup.pool.iteritems() %}
- {%- if pool.application == 'rbd' and pool.rbd_stats == true %}
+ {%- if pool.application == 'rbd' and pool.get('rbd_stats', False) %}
{%- do rbd_pools.append(pool_name) %}
{%- endif %}
{%- endfor %}