Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/icinga2/objects/templates.pp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | each(['irc', 'mail']) |$means| { | ||||
::icinga2::object::notification {"${means}-${type}-notification": | ::icinga2::object::notification {"${means}-${type}-notification": | ||||
template => true, | template => true, | ||||
import => ["${type}-notification"], | import => ["${type}-notification"], | ||||
command => "${means}-${type}-notification", | command => "${means}-${type}-notification", | ||||
target => $template_file, | target => $template_file, | ||||
} | } | ||||
} | } | ||||
} | } | ||||
::icinga2::object::service {'generic-service-check-e2e': | |||||
template => true, | |||||
max_check_attempts => 5, | |||||
check_interval => '24h', | |||||
retry_interval => '30s', | |||||
target => $template_file, | |||||
} | |||||
ardumont: I'll probably iterate other this later once the other things are clearer... | |||||
} | } |
I'll probably iterate other this later once the other things are clearer...