Module: check_mk
Branch: master
Commit: c1b0695cd2e5228a7cd7e796c3007f74183d346b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c1b0695cd2e522…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 21 15:49:15 2016 +0200
Replaced automatically generated defaults module with cmk.paths
Developer note:
The defaults module was created during setup of Check_MK and contained
mainly path definitions and other Check_MK installation specific
definitions.
The file has been replaced by the "cmk.paths" module which is now
the central place which serves path informations for Check_MK.
If you find any usage of the defaults module, you will have to replace
it by that module. You will have to replace the <tt>import defaults</tt>
call with <tt>import cmk.paths</tt> and then replace e.g.
<tt>defaults.var_dir</tt> with <tt>cmk.paths.var_dir</tt>.
Some vars have completely been removed or moved to other places.
For example <tt>defaults.check_mk_version</tt> has been renamed
to <tt>cmk.__version__</tt>.
---
.bugs/2468 | 7 +
checks/logwatch | 2 +-
doc/treasures/wato_hook_cleanup_folders.py | 10 +-
doc/treasures/wato_remove_nonsite_folders.py | 8 +-
doc/treasures/wiki_painter.py | 6 +-
lib/paths.py | 172 ++++++++++++
make_package_info | 3 -
modules/automation.py | 125 ++++-----
modules/check_mk.py | 398 +++++++++++----------------
modules/check_mk_base.py | 51 ++--
modules/config.py | 2 +-
modules/discovery.py | 21 +-
modules/events.py | 5 +-
modules/inventory.py | 9 +-
modules/localize.py | 23 +-
modules/nagios.py | 55 ++--
modules/notify.py | 31 +--
modules/packaging.py | 40 +--
modules/prediction.py | 2 +-
modules/snmp.py | 6 +-
scripts/setup.sh | 120 +-------
tests/lib/test_paths.py | 34 +++
web/.f12 | 1 -
web/htdocs/availability.py | 7 +-
web/htdocs/backup.py | 1 -
web/htdocs/config.py | 45 +--
web/htdocs/crash_reporting.py | 4 +-
web/htdocs/cron.py | 4 +-
web/htdocs/dashboard.py | 2 +-
web/htdocs/guitester.py | 8 +-
web/htdocs/html_mod_python.py | 54 ++--
web/htdocs/i18n.py | 23 +-
web/htdocs/index.py | 20 +-
web/htdocs/inventory.py | 17 +-
web/htdocs/key_mgmt.py | 2 +-
web/htdocs/lib.py | 67 ++---
web/htdocs/login.py | 31 +--
web/htdocs/logwatch.py | 2 +-
web/htdocs/main.py | 4 +-
web/htdocs/metrics.py | 2 +-
web/htdocs/mkeventd.py | 23 +-
web/htdocs/multitar.py | 11 +-
web/htdocs/notifications.py | 1 -
web/htdocs/prediction.py | 4 +-
web/htdocs/sidebar.py | 13 +-
web/htdocs/sites.py | 2 -
web/htdocs/userdb.py | 33 +--
web/htdocs/valuespec.py | 17 +-
web/htdocs/views.py | 10 +-
web/htdocs/wato.py | 76 +++--
web/htdocs/watolib.py | 127 +++------
web/htdocs/werks.py | 11 +-
web/plugins/dashboard/builtin.py | 60 ++--
web/plugins/sidebar/nagvis_maps.py | 11 +-
web/plugins/sidebar/shipped.py | 113 ++++----
web/plugins/userdb/hook_auth.py | 4 +-
web/plugins/userdb/htpasswd.py | 9 +-
web/plugins/userdb/ldap.py | 13 +-
web/plugins/views/painters.py | 52 ++--
web/plugins/visuals/wato.py | 3 +-
web/plugins/wato/backup_domains.py | 118 +++-----
web/plugins/wato/check_mk_configuration.py | 11 +-
web/plugins/wato/globals_notification.py | 4 +-
web/plugins/wato/inventory.py | 4 +-
web/plugins/wato/mkeventd.py | 45 ++-
web/plugins/wato/notifications.py | 4 +-
web/plugins/webapi/webapi.py | 6 +-
67 files changed, 1035 insertions(+), 1174 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=c1b0695cd2…