2025-03-13 12:45:45 +01:00
|
|
|
<% @extra_host_groups.each do |group, members| -%>
|
|
|
|
# <%= group %>
|
2025-03-13 12:15:34 +01:00
|
|
|
define hostgroup {
|
2025-03-13 12:21:18 +01:00
|
|
|
hostgroup_name <%= group %>
|
|
|
|
alias <%= group %>
|
|
|
|
members <%= members %>
|
2025-03-13 12:15:34 +01:00
|
|
|
}
|
|
|
|
<% end -%>
|