1 From 7a4c325194885dc43fc87f7094873e0067801652 Mon Sep 17 00:00:00 2001
2 From: Robert Church <robert.church@windriver.com>
3 Date: Thu, 13 Apr 2017 20:31:21 -0500
4 Subject: [PATCH] US92424: Add OSD support for persistent naming
6 This allows the manifest to provide udev generated /dev/disk/by-* links
7 to configure the OSDs without requiring any additional changes. The
8 'readlink -f' will produce the currently enumerated device node
9 associated with udev link.
11 manifests/osd.pp | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/manifests/osd.pp b/manifests/osd.pp
15 index 2187361..d9cf5b1 100644
16 --- a/manifests/osd.pp
17 +++ b/manifests/osd.pp
18 @@ -61,7 +61,7 @@ define ceph::osd (
20 include ::ceph::params
23 + $data = generate('/bin/bash','-c',"/bin/readlink -f ${name}")
26 $cluster_name = $cluster