chef/cookbooks/drbd/templates/default/global_conf.erb
global {
minor-count 5;
dialog-refresh 1;
usage-count no;
}
common {
startup {
wfc-timeout 1;
outdated-wfc-timeout 1;
degr-wfc-timeout 1;
}
disk {
c-plan-ahead <%= @c_plan_ahead %>;
c-max-rate <%= @c_max_rate %>;
c-fill-target <%= @c_fill_target %>;
}
net {
cram-hmac-alg "sha256";
shared-secret "<%= @shared_secret %>";
}
}