Werk #1035: Do not fail on errors in *.mk files anymore - except in interactive mode

Komponente Core & setup
Titel Do not fail on errors in *.mk files anymore - except in interactive mode
Datum 30.06.2014
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.5i5
Level Bedeutende Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

If a syntax error in main.mk or other *.mk files occurs, Check_MK used to abort any operation. This is nasty when for example a new variable that has been introduced in a new version is not known in an older version of Check_MK and thus after a version downgrade the configuration cannot be activated any more.

The behaviour has now changed so that in case of such an error Check_MK will only abort in interactive mode, i.e. if the standard output is a terminal. That means that WATO will always try to activate Changes. You can force the old behaviour by adding the new option --interactive.

Zur Liste aller Werks