Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-support / puppet / files / puppetlabs-haproxy / 0004-Stop-invalid-warning-message
1 From 7e1cff1503d9980e6fa346ec0e9cb93dc69774bf Mon Sep 17 00:00:00 2001
2 From: zhipengl <zhipengs.liu@intel.com>
3 Date: Fri, 7 Sep 2018 19:24:01 +0800
4 Subject: [PATCH] Stop-invalid-warning-message.patch
5
6 It can fix config_controller failure at step 6.
7
8 The upstream fix is at below link
9 https://github.com/puppetlabs/puppetlabs-haproxy/commit/20db4474c5938c21ac441f0092254c78b5978cc4
10
11 Signed-off-by: zhipengl <zhipengs.liu@intel.com>
12 ---
13  manifests/frontend.pp | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/manifests/frontend.pp b/manifests/frontend.pp
17 index 1623115..709a08c 100644
18 --- a/manifests/frontend.pp
19 +++ b/manifests/frontend.pp
20 @@ -102,7 +102,7 @@ define haproxy::frontend (
21    $defaults_use_backend    = true,
22    $config_file             = undef,
23    # Deprecated
24 -  $bind_options            = undef,
25 +  $bind_options            = '',
26  ) {
27    if $ports and $bind {
28      fail('The use of $ports and $bind is mutually exclusive, please choose either one')
29 -- 
30 2.7.4
31