integ/config/puppet-modules/puppetlabs-haproxy-2.1.0/debian/patches/0004-Stop-invalid-warning-message.patch
Dan Voiculeasa d9f54e285b Add debian package for puppetlabs-haproxy-2.1.0
Aligned with Debian Bullseye version puppetlabs-haproxy-2.1.0-3.

Did build puppetlabs-haproxy-2.1.0 + starlingx patches(adapted from
CentOS7). Adapted all patches.
Did build an iso.

Story: 2009101
Task: 43325
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I3127231c8b7dda14400527a547e86c70dd617046
2021-09-23 18:21:44 +03:00

32 lines
1.1 KiB
Diff

From 8cc5a40c7a1d029b4a82b8e3880ae0e56590ca03 Mon Sep 17 00:00:00 2001
From: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Date: Wed, 15 Sep 2021 14:10:20 +0300
Subject: [PATCH 4/4] Stop invalid warning message
It can fix config_controller failure at step 6.
The upstream fix is at below link
https://github.com/puppetlabs/puppetlabs-haproxy/commit/20db4474c5938c21ac441f0092254c78b5978cc4
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
---
manifests/frontend.pp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/manifests/frontend.pp b/manifests/frontend.pp
index afd8c7b..24db454 100644
--- a/manifests/frontend.pp
+++ b/manifests/frontend.pp
@@ -102,7 +102,7 @@ define haproxy::frontend (
$defaults_use_backend = true,
Optional[Stdlib::Absolutepath] $config_file = undef,
# Deprecated
- $bind_options = undef,
+ $bind_options = '',
) {
if $ports and $bind {
fail('The use of $ports and $bind is mutually exclusive, please choose either one')
--
2.30.0