IcingaApplication::IcingaApplication(const Dictionary::Ptr& serializedUpdate)
: Application(serializedUpdate)
{
- /* load replication config component */
- ConfigItemBuilder::Ptr replicationComponentConfig = boost::make_shared<ConfigItemBuilder>();
- replicationComponentConfig->SetType("Component");
- replicationComponentConfig->SetName("replication");
- replicationComponentConfig->SetLocal(true);
- replicationComponentConfig->Compile()->Commit();
- replicationComponentConfig.reset();
+ /* load cibsync config component */
+ ConfigItemBuilder::Ptr cibsyncComponentConfig = boost::make_shared<ConfigItemBuilder>();
+ cibsyncComponentConfig->SetType("Component");
+ cibsyncComponentConfig->SetName("cibsync");
+ cibsyncComponentConfig->SetLocal(true);
+ cibsyncComponentConfig->Compile()->Commit();
+ cibsyncComponentConfig.reset();
/* load convenience config component */
ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared<ConfigItemBuilder>();