Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 2.47 KB

README.rst

File metadata and controls

77 lines (55 loc) · 2.47 KB

Salt Windows Installer

This repository is for the Windows installer

Work is currently ongoing to create a simple Salt Windows installer in the subfolder "salt" inside the "deps" folder, but is currently broken. For now, you can install Salt from source. Download the Salt source from github here https://github.com/saltstack/salt We've created a repository containing all the Salt dependencies for your convenience here: https://github.com/saltstack/salt-windows-install

These instructions are for installing on Windows XP 32bit. You can find these packages here: https://github.com/saltstack/salt-windows-install/tree/master/deps/win32-py2.7

For Windows 7 64 bit, please use the corresponding packages found here: https://github.com/saltstack/salt-windows-install/tree/master/deps/win-amd64-py2.7

Install on Windows XP 32 bit

First, install the Salt dependencies

  1. Python 2.7.x from http://python.org
    1. Add "C:\Python27" to your path
  2. Install vcredist_x86.exe
  3. Win32OpenSSL-1_0_0e.exe
    1. Choose the first option to install in Windows system directory
  4. pyzmq-2.1.11.win32-py2.7.msi
  5. M2Crypto-0.21.1.win32-py2.7.msi
  6. pycrypto-2.3.win32-py2.7.msi
  7. PyYAML-3.10.win32-py2.7.msi
  8. pywin32-216.win32-py2.7.exe
  9. Cython-0.15.1.win32-py2.7.exe
  10. msgpack-python-0.1.12.win32-py2.7.exe
  11. distribute_setup.py
    1. http://python-distribute.org/distribute_setup.py
    2. "python distribute_setup.py"
  12. Add "C:\Python27\scripts" to your path
  13. jinja2
    1. "easy_install jinja2"

Second, install the Salt source

  1. Open command prompt and change directory into the Salt source directory
  2. Run "python setup.py install"
  3. Create "C:\salt" folder
  4. Copy saltsource/conf/minion.template to "C:\salt\minion"
  5. Edit "C:\salt\minion":
    1. master: ipaddress or hostname of your salt-master
    2. root_dir: C:\salt\
    3. multiprocessing: False

Start the Salt minion

  1. From command prompt run "python \Python27\Scripts\salt-minion -c 'c:\salt\minion'"
  2. On your Salt Master, accept your Windows Salt minion key

Install and start the Salt minion as a Windows service

  1. From command prompt run "python \Python27\Scripts\salt-minion -c 'c:\salt\minion' -d"
  2. On your Salt Master, accept your Windows Salt minion key