Added a pager parameter to the user object and rendering of it to the ERB template.

This commit is contained in:
Nick Chappell 2014-08-03 18:23:28 -07:00
parent d5173611f4
commit 89b3e25e9a
2 changed files with 4 additions and 2 deletions

View file

@ -13,8 +13,8 @@ define icinga2::object::user (
$object_username = $name,
$display_name = $name,
$email = undef,
$pager = undef,
#Parameters to add:
# pager
# vars
# groups
# enable_notifications

View file

@ -11,7 +11,6 @@
*/
//Parameters to add:
// pager
// vars
// groups
// enable_notifications
@ -31,4 +30,7 @@ object User "<%= @object_username %>" {
<%- if @email -%>
email "<%= @email -%>"
<%- end -%>
<%- if @pager -%>
pager "<%= @pager -%>"
<%- end -%>
}