icinga2/lib/cli
Michael Friedrich 663f09e475 Only run 'api setup' if the feature was not enabled
It is safe to assume that the user either did run
'node wizard' or 'node setup' in >= 2.3.x before, or
manually enabled the api feature and deployed the
certificates (otherwise Icinga2 wouldn't start either).

In that case we'll skip the api setup to ensure that we
don't override any existing configuration at all.

refs #9471
2015-06-25 10:21:18 +02:00
..
apisetupcommand.cpp Implement 'api setup' cli command & add ApiUser config 2015-06-25 10:08:34 +02:00
apisetupcommand.hpp Implement 'api setup' cli command & add ApiUser config 2015-06-25 10:08:34 +02:00
apisetuputility.cpp Only run 'api setup' if the feature was not enabled 2015-06-25 10:21:18 +02:00
apisetuputility.hpp Implement 'api setup' cli command & add ApiUser config 2015-06-25 10:08:34 +02:00
clicommand.cpp Remove unnecessary SubStr call 2015-03-02 13:30:37 +01:00
clicommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
CMakeLists.txt Implement 'api setup' cli command & add ApiUser config 2015-06-25 10:08:34 +02:00
consolecommand.cpp Implement sandbox mode for the config parser 2015-04-16 08:48:17 +02:00
consolecommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
daemoncommand.cpp Clean up the start-up process a bit 2015-03-18 11:14:51 +01:00
daemoncommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
daemonutility.cpp Clean up the start-up process a bit 2015-03-18 11:14:51 +01:00
daemonutility.hpp Clean up the start-up process a bit 2015-03-18 11:14:51 +01:00
editline.hpp Improve auto-completion for the 'icinga2 console' command 2015-03-18 08:10:32 +01:00
featuredisablecommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
featuredisablecommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
featureenablecommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
featureenablecommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
featurelistcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
featurelistcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
featureutility.cpp Add feature enable/disable helpers 2015-06-25 10:14:19 +02:00
featureutility.hpp Add feature enable/disable helpers 2015-06-25 10:14:19 +02:00
i2-cli.hpp Update copyright year 2015-01-22 12:00:23 +01:00
nodeaddcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
nodeaddcommand.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
nodeblackandwhitelistcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
nodeblackandwhitelistcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
nodelistcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
nodelistcommand.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
noderemovecommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
noderemovecommand.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
nodesetcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
nodesetcommand.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
nodesetupcommand.cpp node setup: indent accept_config and accept_commands 2015-06-19 09:07:51 +02:00
nodesetupcommand.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
nodeupdateconfigcommand.cpp CLI: Be less verbose in 'node update-config' 2015-04-20 14:58:08 +02:00
nodeupdateconfigcommand.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
nodeutility.cpp Cli: Don't validate config objects in 'node update-config' 2015-02-20 21:34:59 +01:00
nodeutility.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
nodewizardcommand.cpp node setup: indent accept_config and accept_commands 2015-06-19 09:07:51 +02:00
nodewizardcommand.hpp Fix wrong preprocessor macros 2015-06-24 14:13:54 +02:00
objectlistcommand.cpp Move objectlistcommands printObject to objectlistuility 2015-02-18 10:23:27 +01:00
objectlistcommand.hpp Move objectlistcommands printObject to objectlistuility 2015-02-18 10:23:27 +01:00
objectlistutility.cpp Move objectlistcommands printObject to objectlistuility 2015-02-18 10:23:27 +01:00
objectlistutility.hpp Fix Livestatus tests on Windows 2015-02-26 11:14:55 +01:00
pkinewcacommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
pkinewcacommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
pkinewcertcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
pkinewcertcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
pkirequestcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
pkirequestcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
pkisavecertcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
pkisavecertcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
pkisigncsrcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
pkisigncsrcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
pkiticketcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
pkiticketcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
pkiutility.cpp Implement SNI support for the TlsStream class 2015-03-05 14:15:42 +01:00
pkiutility.hpp Fix Livestatus tests on Windows 2015-02-26 11:14:55 +01:00
repositoryclearchangescommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
repositoryclearchangescommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
repositorycommitcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
repositorycommitcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
repositoryobjectcommand.cpp Make order for deferred initializers deterministic 2015-03-18 13:24:31 +01:00
repositoryobjectcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
repositoryutility.cpp Move implementation code from thpp files into separate files 2015-03-28 11:08:12 +01:00
repositoryutility.hpp Fix Livestatus tests on Windows 2015-02-26 11:14:55 +01:00
troubleshootcommand.cpp Refactor code 2015-04-20 11:45:01 +02:00
troubleshootcommand.hpp Refactor code 2015-04-20 11:45:01 +02:00
variablegetcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
variablegetcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
variablelistcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
variablelistcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
variableutility.cpp Cli: Fix NetString::ReadStringFromStream() usage 2015-02-15 14:42:53 +01:00
variableutility.hpp Fix Livestatus tests on Windows 2015-02-26 11:14:55 +01:00