Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 line
478B

  1. # Manages the php cli main ini file
  2. {% from "php/map.jinja" import php with context %}
  3. {% from "php/ini.jinja" import php_ini %}
  4. {% set settings = php.xcache.ini.defaults %}
  5. {% for key, value in php.xcache.ini.settings.items() %}
  6. {% if settings[key] is defined %}
  7. {% do settings[key].update(value) %}
  8. {% else %}
  9. {% do settings.update({key: value}) %}
  10. {% endif %}
  11. {% endfor %}
  12. php_xcache_ini:
  13. {{ php_ini(php.lookup.xcache.ini, php.xcache.ini.opts, settings) }}