commit | c602ecf1f4f4a0bbdfe72dd5f9b502285979f0d3 | [log] [tgz] |
---|---|---|
author | Mateusz Los <mlos@mirantis.com> | Mon May 27 12:56:45 2019 +0000 |
committer | Gerrit Code Review <mail@domain.com> | Mon May 27 12:56:45 2019 +0000 |
tree | 40a96563bb3de2b0f171579836ae0413917aa131 | |
parent | 8f6a3331cd9075932c2a8348df2ce3ad4784ef03 [diff] | |
parent | 12a262948903294a2a6338e6ef263338d74fc37b [diff] |
Merge "Add possibility to use /dev/disk/by-id links Related-Prod: #PROD-27293 (PROD:27293)"
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 %}