mirror of
https://github.com/saltstack-formulas/php-formula.git
synced 2025-04-17 10:10:29 +00:00

- Implementation of libtofs on ini macro, pools_config and apache2 mod_php.conf + Introduction of tplroot on modified files + `{%-` consistency when possible
14 lines
435 B
Text
14 lines
435 B
Text
{#- Manages the main Apache2 ini file #}
|
|
{%- set tplroot = tpldir.split('/')[0] %}
|
|
{%- from tplroot ~ "/map.jinja" import php with context %}
|
|
{%- from tplroot ~ "/ini.jinja" import php_ini %}
|
|
|
|
{%- set settings = php.ini.defaults %}
|
|
{%- do settings.update(php.apache2.ini.settings) %}
|
|
|
|
php_apache2_ini:
|
|
{{ php_ini(php.lookup.apache2.ini,
|
|
'php_apache2_ini',
|
|
php.apache2.ini.opts,
|
|
settings
|
|
) }}
|