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

installed.jinja 300B

12345678910
  1. # Template for installing packages.
  2. {% from "php/ng/map.jinja" import php with context %}
  3. {% from "php/ng/macro.jinja" import sls_block %}
  4. {% set opts = php.installed.get(state, {}) %}
  5. php_install_{{ state }}:
  6. pkg.installed:
  7. {{ sls_block(opts) }}
  8. - name: {{ php.lookup.pkgs.get(state) }}