icinga2/lib/cli
Michael Friedrich 6cce9c0fdd API: Automatically repair broken packages
This partially reverts #7150 and avoids exceptions
inside the flow. Each time an empty active stage
is detected, Icinga tries to repair it from the
the given directory tree.

Also, the code now takes into account that it should
create the package storage on startup, whether within
the API object, or if disabled, inside the application.

Caching the active stages for packages in memory
only is in effect with the API feature being enabled.
This is useful for other deployed config packages,
not only the internal one.

fixes #7173
refs #7150
refs #7119
fixes #6959
2019-05-10 12:48:34 +02:00
..
apisetupcommand.cpp Add --cn parameter to 'api setup' CLI command allowing hostname overrides 2019-04-26 10:52:05 +02:00
apisetupcommand.hpp Add --cn parameter to 'api setup' CLI command allowing hostname overrides 2019-04-26 10:52:05 +02:00
apisetuputility.cpp Merge pull request #7102 from Icinga/feature/boost-fs-7101 2019-04-25 15:53:55 +02:00
apisetuputility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
calistcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
calistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
casigncommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
casigncommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
clicommand.cpp CLI: Return non-zero on unknown sub commands 2019-05-07 12:43:53 +02:00
clicommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
CMakeLists.txt Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
consolecommand.cpp Merge pull request #6999 from Icinga/bugfix/compiler-warnings 2019-03-18 08:44:30 +01:00
consolecommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
daemoncommand.cpp API: Automatically repair broken packages 2019-05-10 12:48:34 +02:00
daemoncommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
daemonutility.cpp Ignore synced config zones where no config item exists 2019-04-15 17:38:43 +02:00
daemonutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
editline.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featuredisablecommand.cpp Impersonate as Icinga user, not root 2019-04-02 17:05:48 +02:00
featuredisablecommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featureenablecommand.cpp Impersonate as Icinga user, not root 2019-04-02 17:05:48 +02:00
featureenablecommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featurelistcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featurelistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featureutility.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
featureutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
i2-cli.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
internalsignalcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
internalsignalcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
nodesetupcommand.cpp CLI: Fix updates for NodeName/ZoneName constants 2019-05-06 10:19:56 +02:00
nodesetupcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
nodeutility.cpp Replace _unlink() + rename() with boost::filesystem::rename() 2019-04-25 09:53:02 +02:00
nodeutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
nodewizardcommand.cpp CLI: Fix updates for NodeName/ZoneName constants 2019-05-06 10:19:56 +02:00
nodewizardcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectlistcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectlistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectlistutility.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectlistutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcacommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcacommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcertcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkinewcertcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkirequestcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkirequestcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkisavecertcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkisavecertcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkisigncsrcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkisigncsrcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkiticketcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pkiticketcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
troubleshootcommand.cpp Replace a few more copyright strings 2019-02-25 16:30:40 +01:00
troubleshootcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablegetcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablegetcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablelistcommand.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablelistcommand.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variableutility.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variableutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00