# # # # # # # # # # # # # # # # # # #初始化时定义好的包# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 包括: 安康;pkg.pkg-init才能 # # # # # # # # # # # # # # # # # # # HAPROXY安装# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # haproxy-install: file.managed才能: ,,,的背后,名字:,/usr/地方/src/haproxy-1.7.2.tar.gz ,,,什么;来源:,盐://haproxy/文件/haproxy-1.7.2.tar.gz ,,,的;用户:根 ,,,什么;组:根 ,,,什么;模式:755 cmd.run才能: ,,,的背后,名字:,cd /usr/地方/src/,,,, tar zxf haproxy-1.7.2.tar.gz ,,, cd haproxy-1.7.2 ,,, make 目标=linux26 前缀=/usr/疯狂的 al/haproxy ,,, make install 前缀=/usr/地方/haproxy ,,,的;除非:,test -d /usr/地方/haproxy ,,,的背后,需要: ,,,,,今天早上,包裹:pkg-init ,,,,,神;文件:haproxy-install haproxy-init: file.managed才能: ,,,的背后,名字:/etc/摆在haproxy ,,,什么;来源:,盐://haproxy/文件/haproxy.init ,,,的;用户:根 ,,,什么;组:根 ,,,什么;模式:755 ,,,的背后,需要: ,,,,,今天早上,cmd: haproxy-install cmd.run才能: ,,,的背后,名字:chkconfig ——add haproxy ,,,的;除非:,chkconfig ——list | grep haproxy ,,,的背后,需要: ,,,,,神;文件:/etc/摆在haproxy ,,,,, ,,,,, net.ipv4.ip_nonlocal_bind: sysctl.present才能: ,,,什么;价值:1 haproxy-config-dir: file.directory才能: ,,,的背后,名字:/etc/haproxy ,,,的;用户:根 ,,,什么;组:根 ,,,安康;模式:,755
# # # # # # # # # # # # # # # # # # # # # # # # haproxy-outside.sls # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 包括: 安康;haproxy.install才能 haproxy-service: file.managed才能: ,,,的背后,名字:/etc/haproxy/haproxy.cfg ,,,女人;来源:集群,盐:///文件/haproxy-outside.cfg ,,,的;用户:根 ,,,什么;组:根 ,,,什么;模式:644 cmd.run才能: ,,,的背后,名字:,useradd -s /sbin/nologin haproxy ,,,什么;onlyif:, id haproxy | echo $ ? service.running才能: ,,,什么,名字:,haproxy ,,,的背后,使:真实 ,,,的背后,重载:真实 ,,,的背后,需要: ,,,,,今天早上,cmd: haproxy-init ,,,的背后,看: ,,,,,神;文件:,haproxy-service
# # # # # # # # # # # # # # # # # # # # # # # # # top.sls # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 基础: ‘*’,才能: ,,,安康;init.env_init 刺激: “web12.limingyu.com”才能: ,,,安康;cluster.haproxy-outside “web13.limingyu.com”才能: ,,,什么;集群。haproxy-outside