首页 > 代码库 > Saltstack生产案例之Haproxy安装

Saltstack生产案例之Haproxy安装

cd /srv/salt/prod/

mkdir haproxy
mkdir keepalived
mkdir nginx
mkdir php
mkdir memcached
mkdir pkg

技术分享

cd pkg

vim make.sls

make-pkg:
  pkg.installed:
    - pkgs:
      - gcc
      - gcc-c++
      - glibc
      - make
      - autoconf
      - openssl
      - openssl-devel
      - pcre
      - pcre-devel

  

 

Saltstack生产案例之Haproxy安装