integ/config/puppet-modules/puppet-haproxy-1.5.0/centos/meta_patches/0005-Stop-invalid-warning-message.patch
zhipengl e51a4a5bbe CentOS 7.5 upgrade for puppet-haproxy package
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>
2018-09-07 19:30:10 +08:00

34 lines
1.1 KiB
Diff

From da48355594342a9f9cb9afd2936aeef0651f008e Mon Sep 17 00:00:00 2001
From: zhipengl <zhipengs.liu@intel.com>
Date: Fri, 7 Sep 2018 19:02:21 +0800
Subject: [PATCH] 0005-Stop-invalid-warning-message
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
---
SPECS/puppet-haproxy.spec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/SPECS/puppet-haproxy.spec b/SPECS/puppet-haproxy.spec
index fb11c75..1b671aa 100644
--- a/SPECS/puppet-haproxy.spec
+++ b/SPECS/puppet-haproxy.spec
@@ -18,6 +18,7 @@ Source0: https://github.com/puppetlabs/%{upstream_name}/archive/%{commit}
Patch0001: 0001-Roll-up-TIS-patches.patch
Patch0002: 0002-disable-config-validation-prechecks.patch
Patch0003: 0003-Fix-global_options-log-default-value.patch
+Patch0004: 0004-Stop-invalid-warning-message
BuildArch: noarch
@@ -33,6 +34,7 @@ Configures HAProxy servers and manages the configuration of backend member serve
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
+%patch0004 -p1
find . -type f -name ".*" -exec rm {} +
find . -size 0 -exec rm {} +
--
2.7.4