Installing Salt from source on Windows XP 32 bit
The download location is found underneath the name of the file to install
Items in double quotes should be run from the command line
- Install Python 2.7.x
- add c:\python27 to your path
- Install vcredist_x86.exe
- Install Win32OpenSSL-1_0_0e.exe
- Choose first option to install in Windows system directory
- Install pyzmq-2.1.11.win32-py2.7.msi
- Install M2Crypto-0.21.1.win32-py2.7.msi
- Install pycrypto-2.3.win32-py2.7.msi
- Install PyYAML-3.10.win32-py2.7.msi
- Install Cython-0.15.1.win32-py2.79.exe
- install distribute_setup.py
- http://python-distribute.org/distribute_setup.py
- “python distribute_setup.py”
- Install pip
- https://raw.github.com/pypa/pip/master/contrib/get-pip.py
- “python get-pip.py"
- Add c:\python27\scripts to your path
- Open new terminal window (cmd)
- Install jinja2
- “pip install jinja2”
- Change directory to your copy of the latest Salt source from github
- Install Salt
- “python setup.py install”
- Edit c:\etc\salt\minon
- master: ipaddress or hostname of your salt-master
- master_port: 4506
- root_dir: c:\
- pki_dir: /etc/salt/pki
- cachedir: /var/cache/salt
- renderer: yaml_jinja
- open_mode: False
- multiprocessing: False
- Start the salt-minion
- Change directory to c:\python27\scripts
- "python salt-minion"
- On the salt-master accept the new minion's key
- "sudo salt-key -A" (This accepts all unaccepted keys. If you're concerned about security just accept the key for this specific minion)
- Test that your minion is responding
- on the salt-master run “sudo salt '*' test.ping"
- You should get the following response: {'your minion hostname': True}
- Jump for joy!!
I've run through this several times and it works. Please let me know if you run into any issues.
Support for Windows in Salt is still very new and not all features work with Windows yet.