1 centos6.9  安装saltstack

   step1:

rpm --import https://repo.saltstack.com/yum/redhat/6/x86_64/latest/SALTSTACK-GPG-KEY.pub

   step2:

[saltstack-repo]name=SaltStack repo for RHEL/CentOS $releaseverbaseurl=enabled=1gpgcheck=1gpgkey=https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest/SALTSTACK-GPG-KEY.pub

  

   step3:

sudo yum clean expire-cache.

   step4:

sudo yum update

    step:5 Install the salt-minion, salt-master, or other Salt components:

yum install salt-masteryum install salt-minionyum install salt-sshyum install salt-syndicyum install salt-cloud