IcingaConfig: handle external zones like ours
This commit is contained in:
parent
b190fd62e3
commit
36d9db4c74
|
@ -311,6 +311,9 @@ throw $e;
|
|||
|
||||
foreach ($objects as $object) {
|
||||
if ($object->isExternal()) {
|
||||
if ($type === 'zone') {
|
||||
$this->zoneMap[$object->id] = $object->object_name;
|
||||
}
|
||||
continue;
|
||||
} elseif ($object->isTemplate()) {
|
||||
$filename = strtolower($type) . '_templates';
|
||||
|
|
Loading…
Reference in New Issue