Sort mon host result to prevent template change
This commit is contained in:
parent
2b7a79000f
commit
0295b05616
@ -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 %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user