IcingaConfig: Remove library import from generated config

`library "methods"` was when Director set the actual execution method
for commands.
This commit is contained in:
Markus Frosch 2018-02-28 13:09:37 +01:00 committed by Thomas Gelf
parent 15729cb28a
commit 8b7b9024c4

View File

@ -476,13 +476,6 @@ class IcingaConfig
->createFileFromDb('dependency') ->createFileFromDb('dependency')
; ;
if (! $this->isLegacy()) {
$this->configFile(sprintf(
'zones.d/%s/commands',
$this->connection->getDefaultGlobalZoneName()
))->prepend("library \"methods\"\n\n");
}
PrefetchCache::forget(); PrefetchCache::forget();
IcingaHost::clearAllPrefetchCaches(); IcingaHost::clearAllPrefetchCaches();