mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
Merge branch 'master' into compatido
This commit is contained in:
commit
3db96f01ce
@ -77,7 +77,6 @@ components/demo/Makefile
|
||||
components/replication/Makefile
|
||||
docs/Doxyfile
|
||||
icinga-app/Makefile
|
||||
icinga-app/config/Makefile
|
||||
lib/Makefile
|
||||
lib/base/Makefile
|
||||
lib/config/Makefile
|
||||
|
@ -1,8 +1,5 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
SUBDIRS = \
|
||||
config
|
||||
|
||||
bin_PROGRAMS = \
|
||||
icinga
|
||||
|
||||
|
@ -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>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user