From 623972c9e604653702d1824f5e817e24116e0cbc Mon Sep 17 00:00:00 2001 From: kelam Date: Mon, 8 Dec 2014 13:24:55 -0500 Subject: [PATCH] sort mon_addresses https://github.com/ceph/ceph-cookbook/issues/175 --- providers/cephfs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/cephfs.rb b/providers/cephfs.rb index a781f5b..1205afb 100644 --- a/providers/cephfs.rb +++ b/providers/cephfs.rb @@ -31,7 +31,7 @@ def manage_mount(directory, subdir, use_fuse, action) action action end else - mons = mon_addresses.join(',') + ':' + subdir + mons = mon_addresses.sort.join(',') + ':' + subdir mount "#{action} #{directory}" do mount_point directory fstype 'ceph' -- 2.47.3