I have just followed the saltstack FreeBSD installation and the installation seem to go ok. I am trying to make my freebsd system to be a minion. After I start the salt-minion on freebsd the service is running but I noticed no key request when I ran on the salt-master. Then I looked into /var/log/salt log on the freebsd machine and noticed this:
2013-04-05 06:36:10,884 [salt.loaded.int.grain.core][WARNING ] Both 'dmidecode' and 'lspci' failed to execute, either because they do not exist on the system of the user running this instance does not have the necessary permissions to execute them. Grains output might not be accurate.
2013-04-05 06:36:10,995 [salt.loader ][CRITICAL] Failed to load grains defined in grain file core.ip4 in function <function ip4 at 0x80a175050>, error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/salt/loader.py", line 787, in gen_grains
ret = fun()
File "/usr/local/lib/python2.7/site-packages/salt/grains/core.py", line 747, in ip4
ips = salt.utils.socket_util.ip4_addrs()
File "/usr/local/lib/python2.7/site-packages/salt/utils/socket_util.py", line 307, in ip4_addrs
ifaces = interfaces()
File "/usr/local/lib/python2.7/site-packages/salt/utils/socket_util.py", line 298, in interfaces
ifaces = _interfaces_ifconfig(cmd)
NameError: global name 'cmd' is not defined
oot@freebsd:/root # uname -a
FreeBSD freebsd.corp.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 ro...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64