php-formula/php/ng/xcache/ini.sls
2015-10-24 00:19:23 +02:00

16 lines
488 B
Plaintext

# Manages the php cli main ini file
{% from 'php/ng/map.jinja' import php with context %}
{% from "php/ng/ini.jinja" import php_ini %}
{% set settings = php.xcache.ini.defaults %}
{% for key, value in php.xcache.ini.settings.iteritems() %}
{% if settings[key] is defined %}
{% do settings[key].update(value) %}
{% else %}
{% do settings.update({key: value}) %}
{% endif %}
{% endfor %}
php_xcache_ini:
{{ php_ini(php.lookup.xcache.ini, php.xcache.ini.opts, settings) }}