# Hostgroup definitions
#
# Autogenerated by Chef.

define hostgroup {
  hostgroup_name all
  alias all
  members *
}

<% @hostgroups.sort.each do |h| -%>
define hostgroup {
  hostgroup_name <%= h %>
  alias <%= h %>
}

<% end -%>

<% @search_hostgroups.sort.each do |hostgroup| -%>
define hostgroup {
  hostgroup_name <%= hostgroup %>
  alias <%= hostgroup %>
<% if @search_nodes[hostgroup].length > 0 -%>
  members        <%= @search_nodes[hostgroup].sort %>
<% else -%>
  members        empty
<% end -%>
}

<% end -%>
# Hostgroup definitions
#
# Autogenerated by Chef.

define hostgroup {
  hostgroup_name all
  alias all
  members *
}

<% @hostgroups.sort.each do |h| -%>
define hostgroup {
  hostgroup_name <%= h %>
  alias <%= h %>
}

<% end -%>

<% @search_hostgroups.sort.each do |hostgroup| -%>
define hostgroup {
  hostgroup_name <%= hostgroup %>
  alias <%= hostgroup %>
<% if @search_nodes[hostgroup].length > 0 -%>
  members        <%= @search_nodes[hostgroup] %>
<% else -%>
  members        empty
<% end -%>
}

<% end -%>
Remove a sort that doesn't work
Remove a sort that doesn't work


Former-commit-id: 3035c4197e2d636e6bd0e7977628628743dcae05 [formerly 9d8758faff6a8cb3754eecb79d91c6b9972a88ac] [formerly ce3f06739b702d233abc94fe1aedde6b037383db [formerly 0055893b054ebabaaeea7943264a8f4d7ae9964d [formerly a6cf37f54202f70e615cc5e4b580b357aca74fb0]]]
Former-commit-id: 674359c9c7850df0d3c730a2159ba6482e5e90a3 [formerly 28eea6bf6039f07be2e1b9f7d8de812542002e45]
Former-commit-id: abc0d4f556b1e60e3c448d1204f5aa8adadeacc3
Former-commit-id: db75a4e5e6db51c8f98d54e8af19dca651f71c42