mirror of https://github.com/Icinga/icinga2.git
Fix: Load the 'replication' component.
This commit is contained in:
parent
d7b55f4926
commit
d4fc6fc672
|
@ -34,13 +34,13 @@ const String IcingaApplication::DefaultStatePath = "icinga.state";
|
||||||
IcingaApplication::IcingaApplication(const Dictionary::Ptr& serializedUpdate)
|
IcingaApplication::IcingaApplication(const Dictionary::Ptr& serializedUpdate)
|
||||||
: Application(serializedUpdate)
|
: Application(serializedUpdate)
|
||||||
{
|
{
|
||||||
/* load cibsync config component */
|
/* load replication config component */
|
||||||
ConfigItemBuilder::Ptr cibsyncComponentConfig = boost::make_shared<ConfigItemBuilder>();
|
ConfigItemBuilder::Ptr replicationComponentConfig = boost::make_shared<ConfigItemBuilder>();
|
||||||
cibsyncComponentConfig->SetType("Component");
|
replicationComponentConfig->SetType("Component");
|
||||||
cibsyncComponentConfig->SetName("cibsync");
|
replicationComponentConfig->SetName("replication");
|
||||||
cibsyncComponentConfig->SetLocal(true);
|
replicationComponentConfig->SetLocal(true);
|
||||||
cibsyncComponentConfig->Compile()->Commit();
|
replicationComponentConfig->Compile()->Commit();
|
||||||
cibsyncComponentConfig.reset();
|
replicationComponentConfig.reset();
|
||||||
|
|
||||||
/* load convenience config component */
|
/* load convenience config component */
|
||||||
ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared<ConfigItemBuilder>();
|
ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared<ConfigItemBuilder>();
|
||||||
|
|
Loading…
Reference in New Issue