Skip to content

Commit

Permalink
Merge pull request #654 from hp197/fix/change_attr
Browse files Browse the repository at this point in the history
Changed Integer parameters into Icinga2::Interval
  • Loading branch information
lbetz authored Apr 21, 2021
2 parents b6f9ede + 28b3c68 commit aa4203e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifests/object/checkcommand.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# a string to do operations on this dictionary or an array for multiple use
# of custom attributes.
#
# @param [Optional[Integer[1]]] timeout
# @param [Optional[Icinga2::Interval]] timeout
# The command timeout in seconds.
#
# @param [Optional[Variant[Hash, String]]] arguments
Expand All @@ -48,7 +48,7 @@
Optional[Variant[Array, String]] $command = undef,
Optional[Hash] $env = undef,
Optional[Icinga2::CustomAttributes] $vars = undef,
Optional[Integer[1]] $timeout = undef,
Optional[Icinga2::Interval] $timeout = undef,
Optional[Variant[Hash, String]] $arguments = undef,
Boolean $template = false,
Variant[String, Integer] $order = 15,
Expand Down
4 changes: 2 additions & 2 deletions manifests/object/eventcommand.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# a string to do operations on this dictionary or an array for multiple use
# of custom attributes.
#
# @param [Optional[Integer[1]]] timeout
# @param [Optional[Icinga2::Interval]] timeout
# The command timeout in seconds.
#
# @param [Optional[Hash]] arguments
Expand All @@ -43,7 +43,7 @@
Optional[Variant[Array, String]] $command = undef,
Optional[Hash] $env = undef,
Optional[Icinga2::CustomAttributes] $vars = undef,
Optional[Integer[1]] $timeout = undef,
Optional[Icinga2::Interval] $timeout = undef,
Optional[Hash] $arguments = undef,
Array $import = [],
Variant[String, Integer] $order = 20,
Expand Down
4 changes: 2 additions & 2 deletions manifests/object/notificationcommand.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# a string to do operations on this dictionary or an array for multiple use
# of custom attributes.
#
# @param [Optional[Integer[1]]] timeout
# @param [Optional[Icinga2::Interval]] timeout
# The command timeout in seconds.
#
# @param [Optional[Hash]] arguments
Expand All @@ -47,7 +47,7 @@
Optional[Variant[Array, String]] $command = undef,
Optional[Hash] $env = undef,
Optional[Icinga2::CustomAttributes] $vars = undef,
Optional[Integer[1]] $timeout = undef,
Optional[Icinga2::Interval] $timeout = undef,
Optional[Hash] $arguments = undef,
Boolean $template = false,
Array $import = [],
Expand Down

0 comments on commit aa4203e

Please sign in to comment.