Revert "s/cibsync/replication/g in icingaapplication lib, loading the right component"

This reverts commit 159e5c79662bacd6ae4c5e0a29c358b1c833149c.
This commit is contained in:
Michael Friedrich 2012-09-22 15:07:22 +02:00
parent 9ec586c16a
commit 2361583308

View File

@ -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 replication config component */ /* load cibsync config component */
ConfigItemBuilder::Ptr replicationComponentConfig = boost::make_shared<ConfigItemBuilder>(); ConfigItemBuilder::Ptr cibsyncComponentConfig = boost::make_shared<ConfigItemBuilder>();
replicationComponentConfig->SetType("Component"); cibsyncComponentConfig->SetType("Component");
replicationComponentConfig->SetName("replication"); cibsyncComponentConfig->SetName("cibsync");
replicationComponentConfig->SetLocal(true); cibsyncComponentConfig->SetLocal(true);
replicationComponentConfig->Compile()->Commit(); cibsyncComponentConfig->Compile()->Commit();
replicationComponentConfig.reset(); cibsyncComponentConfig.reset();
/* load convenience config component */ /* load convenience config component */
ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared<ConfigItemBuilder>(); ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared<ConfigItemBuilder>();