php-formula/php/hhvm/config.sls
sticky-note 8e79a3595c
feat(tofs): implementation for all file.managed
- Implementation of libtofs on ini macro, pools_config and apache2 mod_php.conf
+ Introduction of tplroot on modified files
+ `{%-` consistency when possible
2019-09-13 10:59:05 +01:00

25 lines
751 B
Plaintext

# Manages the php-hhvm main ini file
{%- set tplroot = tpldir.split('/')[0] %}
{%- from tplroot ~ "/map.jinja" import php with context %}
{%- from tplroot ~ "/ini.jinja" import php_ini %}
{%- set server_settings = php.lookup.hhvm.server %}
{%- do server_settings.update(php.hhvm.config.server.settings) %}
{%- set php_settings = php.lookup.hhvm.php %}
{%- do php_settings.update(php.hhvm.config.php.settings) %}
php_hhvm_ini_config:
{{ php_ini(php.lookup.hhvm.conf,
'php_hhvm_ini_config',
php.hhvm.config.server.opts,
server_settings
) }}
php_hhvm_conf_config:
{{ php_ini(php.lookup.hhvm.ini,
'php_hhvm_conf_config',
php.hhvm.config.php.opts,
php_settings
) }}