This section contains instructions to install Salt. If you are setting up your environment for the first time, you should install a Salt master on a dedicated management server or VM, and then install a Salt minion on each system that you want to manage using Salt. For now you don't need to worry about your architecture, you can easily add components and modify your configuration later without needing to reinstall anything.
The general installation process is as follows:
-Moption to install the Salt master.
After this, you should be able to run a simple command and receive returns from all connected Salt minions.
salt '*' test.ping
msgpack-python - 高性能的消息交换格式
Jinja2 - 解析Salt States (在master配置文件中配置)
apache-libcloud - 与大量的主流云服务提供者进行交互时统一API的Python类
Salt defaults to the ZeroMQ transport, and the choice can be made at install time, for example:
python setup.py --salt-transport=raet install
This way, only the required dependencies are pulled by the setup script if need be.
If installing using pip, the
--salt-transport install option can be
pip install --install-option="--salt-transport=raet" salt
Salt does not bundle dependencies that are typically distributed as part of the base OS. If you have unmet dependencies and are using a custom or minimal installation, you might need to install some additional packages from your OS vendor.