83067296a1e157958492c1066764860e6331f42b
[pti/rtp.git] / meta-stx / recipes-support / puppet / files / puppet-drbd / 0008-CGTS-7953-support-for-new-drbd-resources.patch
1 From a29598365183c10e4650088675a6e3181b340187 Mon Sep 17 00:00:00 2001
2 From: Kristine Bujold <kristine.bujold@windriver.com>
3 Date: Wed, 17 Jan 2018 18:18:15 -0500
4 Subject: [PATCH 1/1] foo bar
5
6 ---
7  manifests/init.pp                | 2 ++
8  templates/global_common.conf.erb | 5 +++++
9  2 files changed, 7 insertions(+)
10
11 diff --git a/manifests/init.pp b/manifests/init.pp
12 index 76ce9c9..5e6bdc0 100644
13 --- a/manifests/init.pp
14 +++ b/manifests/init.pp
15 @@ -8,6 +8,8 @@ class drbd(
16    $service_enable = true,
17    $service_ensure = 'running',
18    $package_name = 'drbd-utils',
19 +  $wfc_timeout = 0,
20 +  $degr_wfc_timeout = 0,
21  ) {
22    include ::drbd::service
23  
24 diff --git a/templates/global_common.conf.erb b/templates/global_common.conf.erb
25 index 921a637..0253ef3 100644
26 --- a/templates/global_common.conf.erb
27 +++ b/templates/global_common.conf.erb
28 @@ -3,4 +3,9 @@ global {
29  }
30  common {
31    protocol C;
32 +
33 +  startup {
34 +    wfc-timeout <%= @wfc_timeout %>;
35 +    degr-wfc-timeout <%= @degr_wfc_timeout %>;
36 +  }
37  }
38 -- 
39 1.8.3.1
40