标签:
一 . lamp搭建 file2种写法
saltstack--一键yum lamp:---请注意重点:
http://www.blogs8.cn/posts/WLjId80
文件的2种写法:
/etc/resolv.conf: file.managed: - source: salt://files/resolv.conf - user: root - group: root - mode: 644 apache-service: file.managed: - name: /etc/httpd/conf/httpd.conf #我要放到对端这里 - user: root - group: root - mode: 644
2, salt初始化系统
http://www.roddypy.com/index.php/2015/12/10/saltstack-%E5%88%9D%E5%A7%8B%E5%8C%96linux%E7%B3%BB%E7%BB%9F/
3, 快速入门salt
http://rfyiamcool.blog.51cto.com/1030776/1262537
标签:
原文地址:http://www.cnblogs.com/iiiiher/p/5744643.html