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

installed.jinja 261B

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