]> granicus.if.org Git - icinga2/commit
cli: Fix node update-config errors
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 4 Dec 2014 16:22:09 +0000 (17:22 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Thu, 4 Dec 2014 16:56:28 +0000 (17:56 +0100)
commitd21b3aba52d4b29212102e2eea5b9f5236da596a
tree2f0a66f932749a95e31726138f4b32c02267c7f0
parentac6768d870d45637868be2541eaba9ce5cc1ad93
cli: Fix node update-config errors

* 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 #7518
fixes #7878
fixes #7917
fixes #7891

Conflicts:
lib/cli/objectlistcommand.cpp
lib/cli/nodeupdateconfigcommand.cpp
lib/cli/nodeutility.cpp
lib/cli/nodeutility.hpp
lib/cli/objectlistcommand.cpp
lib/cli/repositoryutility.cpp
lib/cli/repositoryutility.hpp