diff --git a/conf/lenses/corosync.aug b/conf/lenses/corosync.aug index aef16ed0..52c613bd 100644 --- a/conf/lenses/corosync.aug +++ b/conf/lenses/corosync.aug @@ -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") diff --git a/conf/lenses/tests/test_corosync.aug b/conf/lenses/tests/test_corosync.aug index ecaac4ca..20ad6f0d 100644 --- a/conf/lenses/tests/test_corosync.aug +++ b/conf/lenses/tests/test_corosync.aug @@ -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" } }