2.2.6. OS X

2.2.6.1. Dependency Installation

When installing via Homebrew, dependency resolution is handled for you.

brew install saltstack

When 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 OS X system python, pip install needs to use 'sudo':

sudo pip install salt

2.2.6.2. Salt-Master Customizations

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

sudo launchctl limit maxfiles 4096 8192

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

max_open_files: 8192

Now the salt-master should run without errors:

sudo /usr/local/share/python/salt-master --log-level=all

2.2.6.2.1. Post-installation tasks

Now go to the Configuring Salt page.

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.2

Table Of Contents

Previous topic

2.2.5. Gentoo

Next topic

2.2.7. RHEL / CentOS / Scientific Linux / Amazon Linux / Oracle Linux

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.