OS X

Dependency Installation

ZeroMQ and swig need to be installed first.

Using homebrew:

brew install swig
brew install zmq

Using macports, zmq, swig, and pip may need to be installed this way:

sudo port install py-zmq
sudo port install py27-m2crypto
sudo port install py27-crypto
sudo port install py27-msgpack
sudo port install swig-python
sudo port install py-pip

For installs using the OSX system python, pip install needs to use 'sudo':

sudo pip install salt

For installs using python installed via homebrew, sudo should be unnecessary:

pip install salt

Salt-Master Customizations

To run salt-master on OSX, the root user maxfiles limit must be increased:

sudo launchctl limit maxfiles 10000

And add this configuration option to the /etc/salt/master file:

max_open_files: 10000

Now the salt-master should run without errors:

sudo salt-master --log-level=all

Post-installation tasks

Now go to the Configuring Salt page.

Table Of Contents

Previous topic

Gentoo

Next topic

RHEL / CentOS / Scientific Linux / Amazon Linux / Oracle Linux