Add possibility to use /dev/disk/by-id links
Related-Prod: #PROD-27293 (PROD:27293)
Change-Id: Ifc0db8e716774ca334565ea5f7c070f7c00b61bc
diff --git a/ceph/osd/setup.sls b/ceph/osd/setup.sls
index 5b1a832..ab03da1 100644
--- a/ceph/osd/setup.sls
+++ b/ceph/osd/setup.sls
@@ -21,7 +21,7 @@
{%- if disk.get('enabled', True) %}
-{% set dev = disk.dev %}
+{% set dev = '`readlink -f ' + disk.dev + '`' %}
# for uniqueness
{% set dev_device = dev + disk.get('data_partition_prefix', '') + disk.get('data_partition', 1)|string %}