Module: check_mk
Branch: master
Commit: 24a751df3a319299ae63c0170b7885947614d0ec
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=24a751df3a3192…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 10 16:18:10 2016 +0200
Added todo
---
lib/paths.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/paths.py b/lib/paths.py
index 0a4bcfd..b84d44b 100644
--- a/lib/paths.py
+++ b/lib/paths.py
@@ -171,6 +171,9 @@ def _set_core_specific_paths():
})
+# TODO: Find a better way to determine the currently configured core.
+# For example generalize the etc/check_mk/conf.d/microcore.mk which is written by the
CORE
+# hook -> Change the name to core.mk and write it for all configured cores.
def _get_core_name():
try:
for l in open(os.path.join(omd_root, "etc/omd/site.conf")):