IcingaServiceSet: import DirectorOverrideTemplate

...when rendering services belonging to a set for a single host

fixes #776
This commit is contained in:
Thomas Gelf 2017-02-08 10:04:47 +01:00
parent 4b62986d9c
commit bfde75a0a2
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ class IcingaServiceSet extends IcingaObject
$service->set('assign_filter', $filter);
} elseif ($hostId = $this->get('host_id')) {
$service->set('object_type', 'object');
$service->set('use_var_overrides', 'y');
$service->set('host_id', $this->get('host_id'));
} else {
// Service set template without assign filter or host