mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
3505ca3c16
commit
c9f175790f
@ -78,13 +78,14 @@ struct GlobalConfigFixture {
|
|||||||
Application::DeclareSysconfDir("etc");
|
Application::DeclareSysconfDir("etc");
|
||||||
Application::DeclareLocalStateDir("var");
|
Application::DeclareLocalStateDir("var");
|
||||||
|
|
||||||
|
ActivationScope ascope;
|
||||||
|
|
||||||
Loader::LoadExtensionLibrary("icinga");
|
Loader::LoadExtensionLibrary("icinga");
|
||||||
Loader::LoadExtensionLibrary("methods"); //loaded by ITL
|
Loader::LoadExtensionLibrary("methods"); //loaded by ITL
|
||||||
|
|
||||||
std::vector<std::string> configs;
|
std::vector<std::string> configs;
|
||||||
configs.push_back(TestConfig);
|
configs.push_back(TestConfig);
|
||||||
|
|
||||||
ActivationScope ascope;
|
|
||||||
std::vector<ConfigItem::Ptr> newItems;
|
std::vector<ConfigItem::Ptr> newItems;
|
||||||
|
|
||||||
DaemonUtility::LoadConfigFiles(configs, newItems, "icinga2.debug", "icinga2.vars");
|
DaemonUtility::LoadConfigFiles(configs, newItems, "icinga2.debug", "icinga2.vars");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user