Skip to content

Instantly share code, notes, and snippets.

@akoumjian
Forked from baijum/gist:3025019
Created July 21, 2012 19:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akoumjian/3156940 to your computer and use it in GitHub Desktop.
Save akoumjian/3156940 to your computer and use it in GitHub Desktop.
Salt Development Environment
## Get OS/build dependancies
$ sudo apt-get install python2.7-dev build-essential libtool autoconf automake swig uuid-dev python-m2crypto python-setuptools
## Download 0MQ
$ wget http://download.zeromq.org/zeromq-2.2.0.tar.gz
## Unpack
$ tar -xvzf zeromq-2.2.0.tar.gz
## CD into dir
$ cd zeromq-2.2.0/
## configure and make (upon configure's success)
$ ./configure && make
## make install
$ sudo make install
## per 6. On Linux, run sudo ldconfig after installing ØMQ.
## http://www.zeromq.org/area:download
$ sudo ldconfig
# Install salt in development mode
$ sudo python setup.py develop
## comment out M2Crypto in requirements.txt
# pip requirements file for Salt
Jinja2
#M2Crypto
msgpack-python
PyCrypto
PyYAML
pyzmq >= 2.1.9
## install requirements
(venv)$ pip install -r requirements.txt
(venv)$ python
>> import salt
>>
Success!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment