Skip to content

Instantly share code, notes, and snippets.

@Abukamel
Abukamel / salt-minion install from source script on CENTOS 5
Created November 17, 2013 16:36
This is a script for installing salt-minion from source with it's dependencies on centos 5 to overcome the issue of zeromq library version this script should fix the problem of salt-minion being unable to contact master randomly because of zeromq version and simply if you see this error in your /var/log/salt/minion file "[WARNING ] You have a ve…
#!/bin/bash
yum -y remove libzmq3 python26-zmq zeromq salt salt-minion salt-master
rm -rf /etc/yum.repos.d/zeromq.repo
cat <<'EOF' > /etc/yum.repos.d/zeromq.repo
[home_fengshuo_zeromq]
name=The latest stable of zeromq builds (CentOS_CentOS-5)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/fengshuo:/zeromq/CentOS_CentOS-5/
gpgcheck=1