文件架构

cat pkg-init.sls安装编译需要安装的依赖软件

cat install.sls

在cluster中写入haproxy-outside.sls: 在cluster/files中写入haproxy配置文件: