Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
resource-agents.26248
0001-azure-lb-Set-socat-to-default-on-SUSE-dist...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-azure-lb-Set-socat-to-default-on-SUSE-distributions.patch of Package resource-agents.26248
From f733014fd6eefc3888a2433ecf0bff17d391db54 Mon Sep 17 00:00:00 2001 From: Peter Varkoly <varkoly@suse.com> Date: Wed, 13 Nov 2019 14:51:51 +0100 Subject: [PATCH 1/1] azure-lb Set socat to default on SUSE distributions. --- heartbeat/azure-lb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/heartbeat/azure-lb b/heartbeat/azure-lb index 5ee76747..05c13451 100755 --- a/heartbeat/azure-lb +++ b/heartbeat/azure-lb @@ -18,6 +18,11 @@ # Defaults OCF_RESKEY_nc_default="/usr/bin/nc" +case "$( get_release_id )" in + *SUSE) + OCF_RESKEY_nc_default="/usr/bin/socat" + ;; +esac OCF_RESKEY_port_default="61000" : ${OCF_RESKEY_nc=${OCF_RESKEY_nc_default}} @@ -54,8 +59,7 @@ Resource agent to answer Azure Load Balancer health probe requests <parameter name="nc"> <longdesc lang="en"> The full path of the used binary. This can be nc or socat path. -The default is /usr/bin/nc. -If you need /usr/bin/socat this parameter should be set. +The default is /usr/bin/nc and /usr/bin/socat for SUSE distributions. </longdesc> <shortdesc lang="en">Full path of the used binary (nc or socat are allowed)</shortdesc> <content type="string" default="${OCF_RESKEY_nc_default}"/> -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor