mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 23:43:19 +00:00
Add quorum option to augeas lense
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2732 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
59826dd14e
commit
f50ca25dce
@ -116,7 +116,12 @@ let amf =
|
||||
kv "mode" /enabled|disabled/ in
|
||||
section "amf" setting
|
||||
|
||||
(* The quorum section *)
|
||||
let quorum =
|
||||
let setting =
|
||||
qstr /provider/ in
|
||||
section "quorum" setting
|
||||
|
||||
let lns = (comment|empty|compatibility|totem|logging|amf)*
|
||||
let lns = (comment|empty|compatibility|totem|quorum|logging|amf)*
|
||||
|
||||
let xfm = transform lns (incl "/etc/corosync/corosync.conf")
|
||||
|
@ -43,6 +43,10 @@ logging {
|
||||
}
|
||||
}
|
||||
|
||||
quorum {
|
||||
provider: corosync_quorum_ykd
|
||||
}
|
||||
|
||||
amf {
|
||||
mode: disabled
|
||||
}\n"
|
||||
@ -87,5 +91,8 @@ test Corosync.lns get conf =
|
||||
{ "subsys" = "MSG" }
|
||||
{ "debug" = "on" } } }
|
||||
{ }
|
||||
{ "quorum"
|
||||
{ "provider" = "corosync_quorum_ykd" } }
|
||||
{ }
|
||||
{ "amf"
|
||||
{ "mode" = "disabled" } }
|
||||
|
Loading…
Reference in New Issue
Block a user