安装saltstack
安装依赖包 yum -y install libffi-devel zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel 安装SaltStack存储库和密钥 yum install https://repo.saltstack.com/py3/redhat/salt-py3-repo-latest.el7.noarch.rpm yum clean expire-cache 安装salt-master,salt-minion等组件 yum install -y salt-master yum install salt-minion yum install salt-ssh yum install -y salt-syndic yum install cloud yum install -y salt-cloud yum install -y salt-api