I want to install SaltStack in a brand new FreeBSD 10 machine. I am following the official documentation: http://docs.saltstack.com/en/latest/topics/installation/freebsd.html
But when I try to launch the salt_master
daemon it fails with this error message:
root@teldrassil:~ # service salt_master start
Starting salt_master.
Traceback (most recent call last):
File "/usr/local/bin/salt-master", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2837, in <module>
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 449, in _build_master
ws.require(__requires__)
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 742, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
Looking at the FreshPorts website it says that SaltStack needs two more packages/ports to work correctly:
sysutils/py-halite
sysutils/py-salt-api
But even with this two ports installed I got the same error when trying to start salt_master
.