Install salt minion on armhf stretch machine
I have a vero 4k armhf box I wanted to do some programming on, and as I use salt to configure all my work machines I tried to install a salt minion. The problem is that the machine comes with a preinstall Debian stretch which only has an outdated salt minion that didn't work properly, and there are no armhf packages built for salt.
The problem I had of "State 'pkg.installed' was not found in SLS 'foo' Reason: 'pkg' virtual returned False" persisted with the new minion, installing python3-software-properties was the fix.
# Install dependencies
apt-get install libzmq3-dev python3-zmq python3-msgpack gcc python3-dev virtualenv python3-virtualenv python3-software-properties python3-psutil
# Create a virtualenv
virtualenv --python /usr/bin/python3 --system-site-packages env
. env/bin/activate
pip install salt
0 comments
Reply