1 From a1186e3f68a338c575acdcf5cf41728a1b9ba2c1 Mon Sep 17 00:00:00 2001
2 From: Angie Wang <angie.Wang@windriver.com>
3 Date: Mon, 29 May 2017 10:20:13 -0400
4 Subject: [PATCH 1/1] drbd-parallel-to-serial-synchronization
7 manifests/resource.pp | 1 +
8 templates/header.res.erb | 3 +++
9 2 files changed, 4 insertions(+)
11 diff --git a/manifests/resource.pp b/manifests/resource.pp
12 index 10edc1a..d19ad8b 100644
13 --- a/manifests/resource.pp
14 +++ b/manifests/resource.pp
15 @@ -47,6 +47,7 @@ define drbd::resource (
17 $num_parallel = false,
19 + $resync_after = undef,
20 $net_parameters = false,
23 diff --git a/templates/header.res.erb b/templates/header.res.erb
24 index a3256a3..be53761 100644
25 --- a/templates/header.res.erb
26 +++ b/templates/header.res.erb
27 @@ -9,6 +9,9 @@ resource <%= @name %> {
29 resync-rate <%= @rate %>;
31 +<% if @resync_after -%>
32 + resync-after <%= @resync_after %>;
34 <% if @c_plan_ahead -%>
35 c-plan-ahead <%= @c_plan_ahead %>;