Module: check_mk
Branch: master
Commit: 5af3a5035590b34c4c5a3cfc39ac1ff8376a278d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5af3a5035590b3…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 19 10:47:32 2017 +0200
CME: Also setting replication_paths for customer.mk files on slave sites (for extraction)
Change-Id: I6164126e1464a1e382f8e69d18ad8c05ec65c159
---
web/htdocs/watolib.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index fe11289..c823266 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -4427,13 +4427,9 @@ class ActivateChangesManager(ActivateChanges):
if cmk.is_managed_edition():
managed_snapshots.CMESnapshot(site_id, site_tmp_dir,
replicate_components).create_site_snapshot()
- customer_components = [
- ( "file", "customer_multisite",
"%s/multisite.d/customer.mk" % cmk.paths.default_config_dir),
- ( "file", "customer_check_mk",
"%s/conf.d/customer.mk" % cmk.paths.default_config_dir),
- ]
new_paths = []
- for entry in map(list, paths + customer_components):
+ for entry in map(list, paths):
entry[2] = entry[2].replace(cmk.paths.omd_root, site_tmp_dir)
new_paths.append(tuple(entry))
paths = new_paths