From 00e99ac8244225df29d5de35dca6d3c4a363c372 Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Fri, 14 Sep 2018 10:16:43 +0200 Subject: [PATCH] fix #478 Default of parameter import of icinga2::object::notificationcommand is outdated --- manifests/object/notificationcommand.pp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/manifests/object/notificationcommand.pp b/manifests/object/notificationcommand.pp index 568dcb628..7234baaab 100644 --- a/manifests/object/notificationcommand.pp +++ b/manifests/object/notificationcommand.pp @@ -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. @@ -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, ){