This fixes an unnecessary blank in the updating configuraiton log message.
information/cli: Updating ' "conf.d"' include in '/etc/icinga2/icinga2.conf'.
Should be:
information/cli: Updating '"conf.d"' include in '/etc/icinga2/icinga2.conf'.
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
This commit also moves the constants.conf backup logic
into NodeUtility::UpdateConstant() where it belongs.
Logging has been slightly adopted too.
fixes#5763
This changes the GenerateNodeMasterIcingaConfig and GenerateNodeIcingaConfig
functions inside the nodeutillity class to the effect, that the default global
zones global-templates and director-global will be written to the generated
zones.conf that is created during the node wizard/setup.
refs #5707
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
The old comment had a few minor problems:
* Two spaces after 'named'
* No space between // and the begining of the message
* Incorrect capitalization
And one major:
* Incorrectly calling a zone a node
But all of this is subject to change through the use of the configwriter
anyways.
fixes#10406
* fix hosts not created if config and inventory.index are missing.
* fix segfault if host already exists in inventory
* fix that newly listed node hosts are not added to the config repo
* fix repository removal of remove host/services on remote nodes
* fix missing/wrong locks for dictionaries
* fix missing directory create/chown
fixes#7518fixes#7878fixes#7917fixes#7891
Conflicts:
lib/cli/objectlistcommand.cpp