Merge pull request #98 from laradji/master

Sort mon host result to prevent template change
This commit is contained in:
Guilhem Lettron 2014-02-20 16:19:25 +01:00
commit edf2e695dc
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
[global]
fsid = <%= node["ceph"]["config"]["fsid"] %>
mon initial members = <%= node["ceph"]["config"]["mon_initial_members"] %>
mon host = <%= @mon_addresses.join(', ') %>
mon host = <%= @mon_addresses.sort.join(', ') %>
<% if (! node['ceph']['config']['global'].nil?) -%>
<% node['ceph']['config']['global'].sort.each do |k, v| %>
<%= k %> = <%= v %>