SaltStack

http://saltstack.org/

Můj master salt.heca.net

Instalace

Ubuntu >= 10.04 LTS - Lucid

Pozor: V natty 11.04 je nesplněná závislost. Reportováno ppa adminovi. Je možné použít verzi z oneiric http://packages.ubuntu.com/oneiric/msgpack-python a http://packages.ubuntu.com/oneiric/python-zmq

install-salt-minion.sh
#!/bin/bash
echo "deb http://ppa.launchpad.net/saltstack/salt/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/saltstack.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E27C0A6
apt-get update
# pro natty nainstalovat msgpack-python z http://packages.ubuntu.com/oneiric/msgpack-python a http://packages.ubuntu.com/oneiric/python-zmq
apt-get install salt-minion
echo "master: salt.heca.net" > /etc/salt/minion
/etc/init.d/salt-minion start
less +F /var/log/salt/minion

Stažení:

wget -qO- 'http://www.heca.net/_export/code/admin/saltstack?codeblock=0' > install-salt-minion.sh
bash ./install-salt-minion.sh

U stále podporované verze hurdy 8.04 LST je problém ve starém pythonu 2.5.

Linux - ActivePython

install-salt-minion-active.sh
#!/bin/bash
wget 'http://downloads.activestate.com/ActivePython/releases/2.6.7.20/ActivePython-2.6.7.20-linux-x86.tar.gz'
tar -xzf ActivePython-2.6.7.20-linux-x86.tar.gz 
cd ActivePython-2.6.7.20-linux-x86
./install.sh
cd ..
rm -rf ActivePython-2.6.7.20-linux-x86
echo "export PATH=/opt/ActivePython-2.6/bin:\$PATH" >> ~/.profile
apt-get install build-essential swig libssl-dev uuid-dev
# install http://www.zeromq.org/intro:get-the-software
pip install pyzmq pyyaml M2Crypto msgpack-python pycrypto salt
mkdir /etc/salt