浏览代码

Cleaned up the installed package bit.

tags/v0.34.0
Chad Heuschober 10 年前
父节点
当前提交
5b18a9a4b7
共有 2 个文件被更改,包括 5 次插入66 次删除
  1. +4
    -2
      php/ng/installed.jinja
  2. +1
    -64
      php/ng/map.jinja

+ 4
- 2
php/ng/installed.jinja 查看文件

@@ -1,6 +1,8 @@
# Template for installing packages.
{% from "php/ng/map.jinja" import php, sls_block with context %}
{% set opts = php.installed.get(state, {}) %}

php_install_{{ state }}:
pkg.installed:
{{ sls_block(php.get(state).pkg_opts) }}
- name: {{ php.lookup.pkgs.get(state) }}
{{ sls_block(opts) }}
- name: {{ php.lookup.pkgs.get(state) }}

+ 1
- 64
php/ng/map.jinja 查看文件

@@ -87,23 +87,8 @@
'apache2_mod_php_ini': '/etc/php.ini',
},
}),
'adodb': {
'pkg_opts': {},
},
'apc': {
'pkg_opts': {},
},
'cgi': {
'pkg_opts': {},
},
'cli': {
'pkg_opts': {},
},
'curl': {
'pkg_opts': {},
},
'installed': {},
'fpm': {
'pkg_opts': {},
'service': {
'enabled': True,
'opts': {},
@@ -124,15 +109,6 @@
'managed': {},
},
},
'gd': {
'pkg_opts': {},
},
'imagick': {
'pkg_opts': {},
},
'imap': {
'pkg_opts': {},
},
'ini': {
'defaults': {
'PHP': {
@@ -294,43 +270,4 @@
},
},
},
'init': {
'pkg_opts': {},
},
'ldap': {
'pkg_opts': {},
},
'mbstring': {
'pkg_opts': {},
},
'mcrypt': {
'pkg_opts': {},
},
'memcache': {
'pkg_opts': {},
},
'memcached': {
'pkg_opts': {},
},
'mysql': {
'pkg_opts': {},
},
'mysqlnd': {
'pkg_opts': {},
},
'pear': {
'pkg_opts': {},
},
'pgsql': {
'pkg_opts': {},
},
'soap': {
'pkg_opts': {},
},
'suhosin': {
'pkg_opts': {},
},
'xml': {
'pkg_opts': {},
},
}, merge=True) %}

正在加载...
取消
保存