Skip to content

Commit

Permalink
fix #478 Default of parameter import of icinga2::object::notification…
Browse files Browse the repository at this point in the history
…command is outdated
  • Loading branch information
lbetz committed Sep 14, 2018
1 parent 8146406 commit 00e99ac
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions manifests/object/notificationcommand.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
# Set the Icinga 2 name of the notificationcommand object. Defaults to title of the define resource.
#
# [*execute*]
# The "execute" script method takes care of executing the notification.
# The default template "plugin-notification-command" which is imported into
# all CheckCommand objects takes care of this setting.
# The "execute" script method takes care of executing the notification.
#
# [*command*]
# The command. This can either be an array of individual command arguments.
Expand Down Expand Up @@ -58,7 +56,7 @@
Optional[Integer[1]] $timeout = undef,
Optional[Hash] $arguments = undef,
Boolean $template = false,
Array $import = ['plugin-notification-command'],
Array $import = [],
Variant[String, Integer] $order = 25,
){

Expand Down

0 comments on commit 00e99ac

Please sign in to comment.