From a29598365183c10e4650088675a6e3181b340187 Mon Sep 17 00:00:00 2001 From: Kristine Bujold Date: Wed, 17 Jan 2018 18:18:15 -0500 Subject: [PATCH 1/1] foo bar --- manifests/init.pp | 2 ++ templates/global_common.conf.erb | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 76ce9c9..5e6bdc0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -8,6 +8,8 @@ class drbd( $service_enable = true, $service_ensure = 'running', $package_name = 'drbd-utils', + $wfc_timeout = 0, + $degr_wfc_timeout = 0, ) { include ::drbd::service diff --git a/templates/global_common.conf.erb b/templates/global_common.conf.erb index 921a637..0253ef3 100644 --- a/templates/global_common.conf.erb +++ b/templates/global_common.conf.erb @@ -3,4 +3,9 @@ global { } common { protocol C; + + startup { + wfc-timeout <%= @wfc_timeout %>; + degr-wfc-timeout <%= @degr_wfc_timeout %>; + } } -- 1.8.3.1