ci(kitchen): add test pillars for Debian and call some states
This commit is contained in:
parent
3c9efc713d
commit
d4fc842a62
@ -148,7 +148,12 @@ suites:
|
||||
state_top:
|
||||
base:
|
||||
'*':
|
||||
- php
|
||||
- php.repo
|
||||
- php.fpm.install
|
||||
- php.fpm.config
|
||||
- php.fpm.pools
|
||||
- php.modules
|
||||
- php.fpm.service
|
||||
pillars:
|
||||
top.sls:
|
||||
base:
|
||||
|
@ -1,4 +1,88 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=yaml
|
||||
---
|
||||
php: {}
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user