updating validation of interval to allow resending of alerts to be disabled
Merged from: https://github.com/Icinga/puppet-icinga2/pull/70 refs#8153: https://dev.icinga.org/issues/8153
This commit is contained in:
parent
b6ff3da4b3
commit
ec665c146f
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ define icinga2::object::apply_notification_to_host (
|
|||
validate_array($user_groups)
|
||||
validate_hash($times)
|
||||
if $interval {
|
||||
validate_re($interval, '^\d$')
|
||||
validate_string($interval)
|
||||
}
|
||||
if $period {
|
||||
validate_string($period)
|
||||
|
|
|
@ -44,7 +44,7 @@ define icinga2::object::apply_notification_to_service (
|
|||
validate_array($user_groups)
|
||||
validate_hash($times)
|
||||
if $interval {
|
||||
validate_re($interval, '^\d$')
|
||||
validate_string($interval)
|
||||
}
|
||||
if $period {
|
||||
validate_string($period)
|
||||
|
|
Loading…
Reference in a new issue