天成1 发表于 2018-7-31 12:12:09

SaltStack状态管理

apache-install:  
pkg.installed:
  
    - names:
  
      - httpd               #要安装的包名
  
      - httpd-devel
  
apache-service:
  
service.running:
  
    - name: httpd
  
    - enable: True          #设置开机启动
页: [1]
查看完整版本: SaltStack状态管理