Module: check_mk
Branch: master
Commit: bf18ca026473d996c137dcf840d6add52a97bf99
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bf18ca026473d9…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 7 08:36:47 2013 +0100
FIX: "Sync & Restart" did not perform restart in distributed WATO setups
---
ChangeLog | 1 +
web/htdocs/wato.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7d66e87..968a874 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,7 @@
case of distributed WATO setups
* Added oracle_tablespaces configuration to the application checkgroup
* FIX: Fixed synchronisation of mkeventd configs in distributed WATO setups
+ * FIX: "Sync & Restart" did not perform restart in distributed WATO
setups
Event Console:
* Added UNIX socket for sending events to the EC
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 52e5954..491a1a2 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3462,7 +3462,7 @@ def mode_changelog(phase):
# can be optimized in future but is the save way for now.
site = config.site(site_id)
if action in [ "sync", "sync_restart" ]:
- response = synchronize_site(site, restart = action ==
"restart")
+ response = synchronize_site(site, restart = action ==
"sync_restart")
else:
try:
restart_site(site)