From: kelam Date: Mon, 8 Dec 2014 18:24:55 +0000 (-0500) Subject: sort mon_addresses X-Git-Tag: v0.8.0~7^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=623972c9e604653702d1824f5e817e24116e0cbc;p=ceph-cookbooks.git sort mon_addresses https://github.com/ceph/ceph-cookbook/issues/175 --- 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'