X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppetlabs-haproxy%2F0003-Fix-global_options-log-default-value.patch;fp=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppetlabs-haproxy%2F0003-Fix-global_options-log-default-value.patch;h=79d1e82abd7d1cb79b64d893ebcc8a71dfffdaa3;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=0000000000000000000000000000000000000000;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-haproxy/0003-Fix-global_options-log-default-value.patch b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-haproxy/0003-Fix-global_options-log-default-value.patch new file mode 100644 index 0000000..79d1e82 --- /dev/null +++ b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-haproxy/0003-Fix-global_options-log-default-value.patch @@ -0,0 +1,26 @@ +From 16163f14c8f9b1b81b6e394c31c72030938435c7 Mon Sep 17 00:00:00 2001 +From: Don Penney +Date: Tue, 4 Sep 2018 20:01:53 +0800 +Subject: [PATCH] Fix global_options log default value + +Signed-off-by: zhipengl +--- + manifests/params.pp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/manifests/params.pp b/manifests/params.pp +index 21e6bb0..b29e427 100644 +--- a/manifests/params.pp ++++ b/manifests/params.pp +@@ -15,7 +15,7 @@ class haproxy::params { + 'Archlinux', 'Debian', 'Redhat', 'Gentoo', 'Suse' : { + $package_name = 'haproxy' + $global_options = { +- 'log' => "${::ipaddress} local0", ++ 'log' => 'global', + 'chroot' => '/var/lib/haproxy', + 'pidfile' => '/var/run/haproxy.pid', + 'maxconn' => '4000', +-- +2.7.4 +