You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ya...@apache.org on 2012/09/21 20:48:14 UTC
git commit: CLOUDSTACK-159: Clean the configuration file
Updated Branches:
refs/heads/master 44e893812 -> bbc78bab5
CLOUDSTACK-159: Clean the configuration file
Now it's all written by myself.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/bbc78bab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/bbc78bab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/bbc78bab
Branch: refs/heads/master
Commit: bbc78bab5db157e88a5b96c7e808f5842fe1f9cd
Parents: 44e8938
Author: Sheng Yang <sh...@citrix.com>
Authored: Fri Sep 21 11:47:11 2012 -0700
Committer: Sheng Yang <sh...@citrix.com>
Committed: Fri Sep 21 11:47:58 2012 -0700
----------------------------------------------------------------------
.../root/redundant_router/keepalived.conf.templ | 24 ---------------
1 files changed, 0 insertions(+), 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/bbc78bab/patches/systemvm/debian/config/root/redundant_router/keepalived.conf.templ
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/root/redundant_router/keepalived.conf.templ b/patches/systemvm/debian/config/root/redundant_router/keepalived.conf.templ
index fd7235f..e016bc9 100644
--- a/patches/systemvm/debian/config/root/redundant_router/keepalived.conf.templ
+++ b/patches/systemvm/debian/config/root/redundant_router/keepalived.conf.templ
@@ -1,5 +1,3 @@
-! Configuration File for keepalived
-
global_defs {
router_id [ROUTER_ID]
}
@@ -36,29 +34,7 @@ vrrp_instance inside_network {
heartbeat
}
- #nopreempt
-
- # notify scripts and alerts are optional
- #
- # filenames of scripts to run on transitions
- # can be unquoted (if just filename)
- # or quoted (if has parameters)
- # to MASTER transition
notify_master "[RROUTER_BIN_PATH]/master.sh"
- # to BACKUP transition
notify_backup "[RROUTER_BIN_PATH]/backup.sh"
- # FAULT transition
notify_fault "[RROUTER_BIN_PATH]/fault.sh"
-
- # for ANY state transition.
- # "notify" script is called AFTER the
- # notify_* script(s) and is executed
- # with 3 arguments provided by keepalived
- # (ie don't include parameters in the notify line).
- # arguments
- # $1 = "GROUP"|"INSTANCE"
- # $2 = name of group or instance
- # $3 = target state of transition
- # ("MASTER"|"BACKUP"|"FAULT")
- #notify [RROUTER_BIN_PATH]/notify.sh
}