php-formula/test/salt/pillar/debian.sls

89 lines
2.0 KiB
YAML

# -*- coding: utf-8 -*-
# vim: ft=yaml
---
php:
repo:
humanname: php-sury repo
name: "deb https://packages.sury.org/php/ {{ salt['grains.get']('oscodename') }} main"
file: /etc/apt/sources.list.d/php-sury.list
key_url: https://packages.sury.org/php/apt.gpg
version:
- '5.6'
- '7.3'
fpm:
config:
ini:
settings:
Assertion:
zend.assertions: -1
PHP:
expose_php: 'Off'
default_charset: UTF-8
cgi.fix_pathinfo: 0
Date:
date.timezone: Europe/Paris
pools:
'radius-admin.conf':
enabled: true
phpversion: '5.6'
settings:
radius-admin:
user: www-data
group: www-data
listen: /tmp/php-fpm-radius-admin.sock
listen.mode: '0666'
pm: static
pm.max_children: 3
pm.max_requests: 500
pm.status_path: /php-status
ping.path: /php-ping
catch_workers_output: 'yes'
security.limit_extensions: .php
'php_admin_value[date.timezone]': Europe/Paris
'ldap-admin.conf':
enabled: true
phpversion: '7.3'
settings:
ldap-admin:
user: www-data
group: www-data
listen: /tmp/php-fpm-ldap-admin2.sock
listen.mode: '0666'
pm: static
pm.max_children: 3
pm.max_requests: 500
pm.status_path: /php-status
ping.path: /php-ping
catch_workers_output: 'yes'
security.limit_extensions: .php
'php_admin_value[date.timezone]': Europe/Paris
cli:
ini:
settings:
Assertion:
zend.assertions: -1
PHP:
default_charset: UTF-8
Date:
date.timezone: Europe/Paris
modules:
- bz2
- cli
- curl
- gd
- imagick
- imap
- intl
- mbstring
- mysql
- readline
- redis
- xml
- zip