IcingaServiceSet: import DirectorOverrideTemplate
...when rendering services belonging to a set for a single host fixes #776
This commit is contained in:
parent
4b62986d9c
commit
bfde75a0a2
|
@ -133,6 +133,7 @@ class IcingaServiceSet extends IcingaObject
|
||||||
$service->set('assign_filter', $filter);
|
$service->set('assign_filter', $filter);
|
||||||
} elseif ($hostId = $this->get('host_id')) {
|
} elseif ($hostId = $this->get('host_id')) {
|
||||||
$service->set('object_type', 'object');
|
$service->set('object_type', 'object');
|
||||||
|
$service->set('use_var_overrides', 'y');
|
||||||
$service->set('host_id', $this->get('host_id'));
|
$service->set('host_id', $this->get('host_id'));
|
||||||
} else {
|
} else {
|
||||||
// Service set template without assign filter or host
|
// Service set template without assign filter or host
|
||||||
|
|
Loading…
Reference in New Issue