Gunnar Beutner
e678fa1aa5
Refactor Application::*Const()
2018-08-13 15:27:05 +02:00
Markus Frosch
9fbc40615a
Improve path handling in cmake and daemon
2018-08-07 14:10:26 +02:00
Markus Frosch
ddc5b951b3
Revert "Implement support for the --env command-line argument"
2018-07-26 17:09:06 +02:00
Michael Friedrich
46e71a83dc
Merge pull request #6414 from Icinga/feature/icinga-envs
...
Implement support for the --env command-line argument
2018-07-26 10:09:42 +02:00
Alexander A. Klimov
030afee8b0
Fix typo
2018-07-17 14:23:20 +02:00
Gunnar Beutner
c577554073
Implement support for the --env command-line argument
2018-06-27 13:15:52 +02:00
Michael Friedrich
f0f0b47057
Fix style and logging from review; enhance output
...
refs #4508
2018-05-08 16:59:09 +02:00
Gunnar Beutner
ac155d1dda
Apply clang-tidy fix 'modernize-redundant-void-arg'
2018-01-04 12:24:57 +01:00
Michael Insel
158ae2188e
Change copyright header for 2018
2018-01-02 12:08:55 +01:00
Jean Flach
2636e6a77a
Whitespace fix
...
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
2017-12-20 14:53:52 +01:00
Gunnar Beutner
3ce68b49c7
Fix compiler warning introduced by #5811
2017-12-12 11:54:47 +01:00
Michael Friedrich
aec231b119
Merge pull request #5811 from Icinga/feature/update-constants-conf-api-setup
...
Update NodeName/ZoneName constants with 'api setup'
2017-12-07 17:35:46 +01:00
Gunnar Beutner
3c60fbf75d
Use std::vector::emplace_back instead of std::vector::push_back
2017-11-30 17:47:09 +01:00
Michael Friedrich
f267135711
Update NodeName/ZoneName constants with 'api setup'
...
This commit also moves the constants.conf backup logic
into NodeUtility::UpdateConstant() where it belongs.
Logging has been slightly adopted too.
fixes #5763
2017-11-28 13:38:53 +01:00
Michael Friedrich
8040bda2e1
Change directory layout to /var/lib/icinga2/{ca,certs,certificate_requests}
...
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner
c02742925e
Refactor PkiUtility class
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
1e7860f2b1
Implement ApiListener::Get*Dir() functions
...
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Rune Darrud
d1dc1188e1
Remove obsolete reference to serial.txt
...
fixes #12467
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-17 16:19:24 +02:00
Michael Friedrich
894aaaecb1
Ensure that config files are readable by the daemon
...
refs #11212
refs #11211
2016-02-24 14:24:08 +01:00
Michael Friedrich
47c5425137
Fix permissions for temporary files
...
fixes #11212
fixes #11211
2016-02-24 11:00:44 +01:00
Michael Friedrich
4cb5b97e52
Fix unique creation of temp files
...
fixes #10948
2016-02-23 12:30:59 +01:00
Jean Flach
fa1d633484
Rephrase some log messages
...
refs #11122
2016-02-09 15:59:19 +01:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Michael Friedrich
b7f923dd01
'api setup' must not override existing certificate and api-users.conf file
...
fixes #10560
2015-11-08 14:19:06 +01:00
Michael Friedrich
1c8531fc0d
Fix: 'api setup' should create a user even when api feature is already enabled
...
fixes #10560
2015-11-08 14:06:36 +01:00
Gunnar Beutner
12015e0eca
Clean up the 'api setup' command a bit more
...
refs #9471
2015-10-26 07:03:41 +01:00
Gunnar Beutner
b72ba2b63a
Fix incorrect return value for ApiSetupUtility::SetupMaster
...
refs #9471
2015-10-25 19:57:57 +01:00
Gunnar Beutner
f31837a6ba
Clean up the 'api setup' command
...
refs #9471
2015-10-22 16:03:26 +02:00
Gunnar Beutner
425a1a0166
Implement API permissions
...
fixes #9088
2015-09-28 14:30:46 +02:00
Michael Friedrich
7eca257784
Fix return value of Utility::MkDir/MkDirP
...
None as there are exceptions thrown.
fixes #9689
2015-08-24 15:11:49 +02:00
Michael Friedrich
f123c8218d
Split ApiSetupUtility::SetupMaster() into multiple functions
...
refs #9590
2015-07-08 15:32:11 +02:00
Michael Friedrich
2eaae1f733
Update documentation for ApiUser object & node wizard
...
fixes #9471
2015-06-25 18:03:00 +02:00
Michael Friedrich
0d977b9d48
Allow to pass cn to ApiSetupUtility::SetupMaster()
...
refs #9471
2015-06-25 10:40:50 +02:00
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
Michael Friedrich
7b0b04ba8f
Implement 'api setup' cli command & add ApiUser config
...
refs #9471
2015-06-25 10:08:34 +02:00