module-icinga2/templates/object_apilistener.conf.erb
2015-01-06 22:44:48 -08:00

38 lines
No EOL
961 B
Text

/**
* WARNING: This ApiListener object definition is automatically generated by Puppet.
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
*/
/**
* An ApiListener definition. You can create your own configuration files
* in the conf.d directory (e.g. one per commnand). By default all *.conf
* files in this directory are included.
*
*/
object ApiListener "<%= @object_name %>" {
<%- if @cert_path -%>
cert_path = <%= @cert_path %>
<%- end -%>
<%- if @key_path -%>
key_path = <%= @key_path %>
<%- end -%>
<%- if @ca_path -%>
ca_path = <%= @ca_path %>
<%- end -%>
<%- if @crl_path -%>
crl_path = <%= @crl_path %>
<%- end -%>
<%- if @bind_host -%>
bind_host = "<%= @bind_host %>"
<%- end -%>
<%- if @bind_port -%>
bind_port = <%= @bind_port %>
<%- end -%>
<%- if @accept_config -%>
accept_config = <%= @accept_config %>
<%- end -%>
<%- if @accept_commands -%>
accept_commands = <%= @accept_commands %>
<%- end -%>
}