Salt currently has experimental support for Salt Minions on Windows.
There are no plans for the forseeable future to develop a Salt Master on Windows. For now you must run your Salt Master on a supported operating system to control your Salt Minions on Windows.
Many of the standard Salt modules have been ported to work on Windows and many of the Salt States currently work on Windows, as well.
Work is under way to create a Windows installer for Salt, but for now one must install each dependency separately and configure Salt to run on your Windows host.
Rather than send you on a wild goose chase across the Internet, we've collected some of the more difficult to find installers in our github repo for you.
git clone git://github.com/saltstack/salt.git
python distribute_setup.py
python get-pip.py
pip install jinja2
pip install msgpack-python
cd ./salt
python setup.py install
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
cd c:\python27\scripts
python salt-minion
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}