module-icinga2/templates/object_user.conf.erb

36 lines
866 B
Text
Raw Normal View History

/**
* WARNING: This host definition is automatically generated by Puppet.
* ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
*/
/**
* A user 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.
*
*/
//Parameters to add:
// vars
// groups
// enable_notifications
// period
// types
// states
object User "<%= @object_username %>" {
<%#- 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 -%>"
2014-08-03 07:07:23 +02:00
<%- end -%>
<%- if @display_name -%>
display_name "<%= @display_name -%>"
<%- end -%>
<%- if @email -%>
email "<%= @email -%>"
<%- end -%>
<%- if @pager -%>
pager "<%= @pager -%>"
<%- end -%>
}