]> granicus.if.org Git - icinga2/commitdiff
Fix: Load the 'replication' component.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 17 Sep 2012 11:32:59 +0000 (13:32 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 17 Sep 2012 11:32:59 +0000 (13:32 +0200)
lib/icinga/icingaapplication.cpp

index 9d7f9109604e98841ee0ae904b9bf4c160652e13..f875657faafdb4ff8859a7d57ad9b0d763f8ea94 100644 (file)
@@ -34,13 +34,13 @@ const String IcingaApplication::DefaultStatePath = "icinga.state";
 IcingaApplication::IcingaApplication(const Dictionary::Ptr& serializedUpdate)
        : Application(serializedUpdate)
 {
-       /* 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 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 convenience config component */
        ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared<ConfigItemBuilder>();