e51a4a5bbe
This change can fix the issue during package upgrade that causes config_controller failed at step 6. Root cause is that package update introduced a warning output in frontend.pp file which will cause puppet-manifest-apply failure as it do not allow any warning existed in puppet log. Story: 2003389 Task: 24504 Depends-On: https://review.openstack.org/#/c/600359/ Change-Id: Iabfa73e80859feeccbc1e6c81032169f94812013 Signed-off-by: zhipengl <zhipengs.liu@intel.com>
32 lines
995 B
Plaintext
32 lines
995 B
Plaintext
From 7e1cff1503d9980e6fa346ec0e9cb93dc69774bf Mon Sep 17 00:00:00 2001
|
|
From: zhipengl <zhipengs.liu@intel.com>
|
|
Date: Fri, 7 Sep 2018 19:24:01 +0800
|
|
Subject: [PATCH] Stop-invalid-warning-message.patch
|
|
|
|
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 1623115..709a08c 100644
|
|
--- a/manifests/frontend.pp
|
|
+++ b/manifests/frontend.pp
|
|
@@ -102,7 +102,7 @@ define haproxy::frontend (
|
|
$defaults_use_backend = true,
|
|
$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.7.4
|
|
|