Update HAProxy version for Centos
ALso tweak the systemd service config for haproxy 1.8 since it no longer ships with a systemd wrapper. Change-Id: If4f230dcba8c360c919f6c2d93705bf67089b2cf
This commit is contained in:
parent
f33c461cb9
commit
b0a845554b
@ -9,6 +9,9 @@
|
||||
"distro": {
|
||||
"ubuntu": {
|
||||
"haproxy": "haproxy"
|
||||
},
|
||||
"centos7": {
|
||||
"haproxy": "haproxy18"
|
||||
}
|
||||
},
|
||||
"family": {
|
||||
|
@ -6,4 +6,12 @@ set -o xtrace
|
||||
|
||||
if [ "$DISTRO_NAME" == "ubuntu" ] && [ "$DIB_RELEASE" == "trusty" ]; then
|
||||
echo deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse > /etc/apt/sources.list.d/backports.list
|
||||
elif [ "$DISTRO_NAME" == "centos7" ]; then
|
||||
cat > /etc/yum.repos.d/CentOS-PaaS.repo <<EOF
|
||||
[paas]
|
||||
name=CentOS-7 - PaaS
|
||||
baseurl=http://mirror.centos.org/centos/7/paas/\$basearch/openshift-origin/
|
||||
gpgcheck=0
|
||||
enabled=1
|
||||
EOF
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user