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>
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From 8a01ac3f649282ade4c136a2c1cb1b8bbbab28de Mon Sep 17 00:00:00 2001
|
|
From: Kam Nasim <kam.nasim@windriver.com>
|
|
Date: Fri, 26 May 2017 17:18:23 -0400
|
|
Subject: [PATCH] 0003-disable-config-validation-prechecks
|
|
|
|
---
|
|
SPECS/puppet-haproxy.spec | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/SPECS/puppet-haproxy.spec b/SPECS/puppet-haproxy.spec
|
|
index f58bd74..106ae3e 100644
|
|
--- a/SPECS/puppet-haproxy.spec
|
|
+++ b/SPECS/puppet-haproxy.spec
|
|
@@ -16,6 +16,7 @@ URL: https://github.com/puppetlabs/puppetlabs-haproxy
|
|
|
|
Source0: https://github.com/puppetlabs/%{upstream_name}/archive/%{commit}.tar.gz#/%{upstream_name}-%{shortcommit}.tar.gz
|
|
Patch0001: 0001-Roll-up-TIS-patches.patch
|
|
+Patch0002: 0002-disable-config-validation-prechecks.patch
|
|
|
|
BuildArch: noarch
|
|
|
|
@@ -29,6 +30,7 @@ Configures HAProxy servers and manages the configuration of backend member serve
|
|
%prep
|
|
%setup -q -n %{upstream_name}-%{upstream_version}
|
|
%patch0001 -p1
|
|
+%patch0002 -p1
|
|
|
|
find . -type f -name ".*" -exec rm {} +
|
|
find . -size 0 -exec rm {} +
|
|
--
|
|
2.7.4
|
|
|