9311089520
This package is 3rdparty. Get latest release which is 0.5.2. Not much difference between 0.3.1 release used on CentOS and 0.5.2. Did build puppet-drbd-0.5.2 + starlingx patches (adapted from CentOS7). Adapted all patches. Adapt patch 0001. Keep 0002->0010. Did build an iso. Story: 2009101 Task: 43379 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: Ifa748c2ba7ca0cddb7d829c88e852247929f549e
41 lines
1011 B
Diff
41 lines
1011 B
Diff
From a29598365183c10e4650088675a6e3181b340187 Mon Sep 17 00:00:00 2001
|
|
From: Kristine Bujold <kristine.bujold@windriver.com>
|
|
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
|
|
|