]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
sort mon_addresses 183/head
authorkelam <kevinlamontagne@gmail.com>
Mon, 8 Dec 2014 18:24:55 +0000 (13:24 -0500)
committerKevin Lamontagne <kevin@demarque.com>
Mon, 12 Jan 2015 16:50:54 +0000 (11:50 -0500)
https://github.com/ceph/ceph-cookbook/issues/175

providers/cephfs.rb

index a781f5b4340fefe1189731d701d05ea66cb6d9c7..1205afba01f4dcffec35e90a4e0113a97855c7ad 100644 (file)
@@ -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'