633e4faef9
refs#7715: https://dev.icinga.org/issues/7715
31 خطوط
954 B
Text
31 خطوط
954 B
Text
/**
|
|
* WARNING: This hostgroup definition is automatically generated by Puppet.
|
|
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
|
|
*/
|
|
|
|
/**
|
|
* A hostgroup definition. You can create your own configuration files
|
|
* in the conf.d directory (e.g. one per host). By default all *.conf
|
|
* files in this directory are included.
|
|
*
|
|
*/
|
|
|
|
object HostGroup "<%= @object_hostgroup_name %>" {
|
|
<%#- If any of the @ parameters are undefined, don't print anything for them: -%>
|
|
<%- if @template_to_import -%>
|
|
<%#- Otherwise, include the parameter: -%>
|
|
import "<%= @template_to_import -%>"
|
|
<%- end -%>
|
|
<%- if @display_name -%>
|
|
display_name = "<%= @display_name -%>"
|
|
<%- end -%>
|
|
<%- if @groups.length != 0 -%>
|
|
groups = [ <%- @groups.each do |group| -%> "<%= group %>", <%- end -%>]
|
|
<%- end -%>
|
|
<%- if @assign_where -%>
|
|
assign where <%= @assign_where %>
|
|
<%- end -%>
|
|
<%- if @ignore_where -%>
|
|
ignore where <%= @ignore_where %>
|
|
<%- end -%>
|
|
}
|