* fixed validation
Signed-off-by: Nick Chappell <nick@intronic.org> Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32 refs#7228: https://dev.icinga.org/issues/7228
This commit is contained in:
parent
537735a486
commit
abe26cb9e3
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ define icinga2::object::notificationcommand (
|
|||
if $env {
|
||||
validate_hash($env)
|
||||
}
|
||||
validate_hash($vars)
|
||||
if $vars {
|
||||
validate_hash($vars)
|
||||
}
|
||||
if $timeout {
|
||||
validate_re($timeout, '^\d+$')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue