Saltstack Official PHP Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

22 行
469B

  1. {% from "php/map.jinja" import php with context %}
  2. {% if grains['os_family']=="Debian" %}
  3. {% if use_ppa is not none %}
  4. {% set use_ppa = salt['pillar.get']('php:use_ppa', none) %}
  5. {% set ppa_name = salt['pillar.get']('php:ppa_name', 'ondrej/php5') %}
  6. php54:
  7. pkgrepo.managed:
  8. - ppa: {{ ppa_name }}
  9. pkg.latest:
  10. - name: php5
  11. - refresh: True
  12. {% endif %}
  13. {% endif %}
  14. php:
  15. pkg:
  16. - installed
  17. - name: {{ php.php_pkg }}