add make option "update-config"
would be very nice, if new config options could be merged into existing config.
With this it's easier for the user to keep track of new config options.
btw. I've no idea how to merge configs easiely.
#1 Updated by dnsmichi almost 4 years ago
you'd have to keep track of different configs etc. and then search which version the user might have installed. that's more headache than everything else.
i'd rather let that an option in rpms (config no replace) or debs than in in plain source code. people using source install should reconsider using packages instead.
if you really want to, we can create smaller config samples which describe the version changes (new config options in 1.4 in 1.5 etc). people then need to copy that themselves.
which then would be great if we could have a conf.d (which gets defined in main icinga.cfg) and the core reads all added configs from that directory)
the initial idea sources from the event broker module line to be added automagically, but the main problem is that the core and cgis read the config at several places - this needs to be combined/reworked.
please refer to #162
(me thinks this would be great)