SaltStack之部署httpd
环境:
OS: CentOS6.5 x64
Master:
salt-master.example.com
Minion:
salt-minion1.example.com
salt-minion2.example.com
参考文档:
mkdir -p /srv/salt/httpd
cp
/etc/httpd/conf/httpd.conf /srv/salt/httpd
cat
>/srv/salt/httpd.sls <<HERE
httpd:
HERE
salt '*' state.sls httpd