Browse Source

Cleaned up the installed package bit.

tags/v0.34.0
Chad Heuschober 10 years ago
parent
commit
5b18a9a4b7
2 changed files with 5 additions and 66 deletions
  1. +4
    -2
      php/ng/installed.jinja
  2. +1
    -64
      php/ng/map.jinja

+ 4
- 2
php/ng/installed.jinja View File

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

php_install_{{ state }}: php_install_{{ state }}:
pkg.installed: 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 View File

'apache2_mod_php_ini': '/etc/php.ini', 'apache2_mod_php_ini': '/etc/php.ini',
}, },
}), }),
'adodb': {
'pkg_opts': {},
},
'apc': {
'pkg_opts': {},
},
'cgi': {
'pkg_opts': {},
},
'cli': {
'pkg_opts': {},
},
'curl': {
'pkg_opts': {},
},
'installed': {},
'fpm': { 'fpm': {
'pkg_opts': {},
'service': { 'service': {
'enabled': True, 'enabled': True,
'opts': {}, 'opts': {},
'managed': {}, 'managed': {},
}, },
}, },
'gd': {
'pkg_opts': {},
},
'imagick': {
'pkg_opts': {},
},
'imap': {
'pkg_opts': {},
},
'ini': { 'ini': {
'defaults': { 'defaults': {
'PHP': { 'PHP': {
}, },
}, },
}, },
'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) %} }, merge=True) %}

Loading…
Cancel
Save