SaltStack 批量安装nginx服务

最近在研究saltstack,尝试安装一下nginx,代码如下:
master配置:


目录结构:

top.sls配置:

pkg.sls配置:

nginx.sls配置:

客户端脚本:

完整版:


下载地址(实验基于centos 6.8):链接: http://pan.baidu.com/s/1boNiraZ 密码: p6zr文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/basic/saltstack-install-nginx/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/basic/saltstack-install-nginx/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onSeptember 21, 2017
  • 原文链接:https://note.t4x.org/basic/saltstack-install-nginx/
匿名

Comment

Anonymous

Slide puzzle verification.