From bfde75a0a236e261bb2dbc2d4cda4f3f94bfc12f Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 8 Feb 2017 10:04:47 +0100 Subject: [PATCH] IcingaServiceSet: import DirectorOverrideTemplate ...when rendering services belonging to a set for a single host fixes #776 --- library/Director/Objects/IcingaServiceSet.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Director/Objects/IcingaServiceSet.php b/library/Director/Objects/IcingaServiceSet.php index 025bfb2b..04ccb34b 100644 --- a/library/Director/Objects/IcingaServiceSet.php +++ b/library/Director/Objects/IcingaServiceSet.php @@ -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