module Test_corosync = let conf = "# Please read the corosync.conf.5 manual page compatibility: whitetank totem { version: 2 secauth: off crypto_type: nss crypto_accept: new threads: 0 clear_node_high_bit: no rrp_mode: none transport: udp token: 1000 interface { ringnumber: 0 bindnetaddr: 192.168.122.1 mcastaddr: 226.94.1.1 ttl: 45 mcastport: 5405 } } logging { fileline: off function_name: on to_stderr: yes to_logfile: yes to_syslog: yes logfile: /tmp/corosync.log debug: off timestamp: on logger_subsys { to_syslog: no subsys: CPG debug: on } logger_subsys { to_stderr: no logfile: /tmp/corosync-msg.log subsys: MSG debug: on tags: enter|trace4 } } quorum { provider: corosync_quorum_ykd expected_votes: 5 votes: 1 quorumdev_poll: 2 leaving_timeout: 2 disallowed: 0 quorate: 1 two_node: 0 } resources { system { memory_used { recovery: reboot max: 80 } load_15min { recovery: watchdog max: 8.56 } } } uidgid { uid: 0 gid: 0 } amf { mode: disabled }\n" test Corosync.lns get conf = { "#comment" = "Please read the corosync.conf.5 manual page" } { "compatibility" = "whitetank" } { } { "totem" { "version" = "2" } { "secauth" = "off" } { "crypto_type" = "nss" } { "crypto_accept" = "new" } { "threads" = "0" } { "clear_node_high_bit" = "no" } { "rrp_mode" = "none" } { "transport" = "udp" } { "token" = "1000" } { "interface" { "ringnumber" = "0" } { "bindnetaddr" = "192.168.122.1" } { "mcastaddr" = "226.94.1.1" } { "ttl" = "45" } { "mcastport" = "5405" } } } { } { "logging" { "fileline" = "off" } { "function_name" = "on" } { "to_stderr" = "yes" } { "to_logfile" = "yes" } { "to_syslog" = "yes" } { "logfile" = "/tmp/corosync.log" } { "debug" = "off" } { "timestamp" = "on" } { "logger_subsys" { "to_syslog" = "no" } { "subsys" = "CPG" } { "debug" = "on" } } { "logger_subsys" { "to_stderr" = "no" } { "logfile" = "/tmp/corosync-msg.log" } { "subsys" = "MSG" } { "debug" = "on" } { "tags" = "enter|trace4" } } } { } { "quorum" { "provider" = "corosync_quorum_ykd" } { "expected_votes" = "5" } { "votes" = "1" } { "quorumdev_poll" = "2" } { "leaving_timeout" = "2" } { "disallowed" = "0" } { "quorate" = "1" } { "two_node" = "0" } } { } { "resources" { "system" { "memory_used" { "recovery" = "reboot" } { "max" = "80" } } { "load_15min" { "recovery" = "watchdog" } { "max" = "8.56" } } } } { } { "uidgid" { "uid" = "0" } { "gid" = "0" } } { } { "amf" { "mode" = "disabled" } }