Merge pull request #221 from myii/test/manage-map.jinja-verification
test(map): verify `map.jinja` dump using `_mapdata` state
This commit is contained in:
commit
18a33700d5
@ -15,8 +15,11 @@
|
||||
/docs/AUTHORS.rst @saltstack-formulas/ssf
|
||||
/docs/CHANGELOG.rst @saltstack-formulas/ssf
|
||||
/docs/TOFS_pattern.rst @saltstack-formulas/ssf
|
||||
/*/_mapdata/ @saltstack-formulas/ssf
|
||||
/*/libsaltcli.jinja @saltstack-formulas/ssf
|
||||
/*/libtofs.jinja @saltstack-formulas/ssf
|
||||
/test/integration/**/_mapdata_spec.rb @saltstack-formulas/ssf
|
||||
/test/integration/**/libraries/system.rb @saltstack-formulas/ssf
|
||||
/test/integration/**/inspec.yml @saltstack-formulas/ssf
|
||||
/test/integration/**/README.md @saltstack-formulas/ssf
|
||||
/.gitignore @saltstack-formulas/ssf
|
||||
|
@ -162,6 +162,7 @@ suites:
|
||||
state_top:
|
||||
base:
|
||||
'*':
|
||||
- php._mapdata
|
||||
- php.repo
|
||||
- php.fpm.install
|
||||
- php.fpm.config
|
||||
@ -188,6 +189,7 @@ suites:
|
||||
state_top:
|
||||
base:
|
||||
'*':
|
||||
- php._mapdata
|
||||
- php.repo
|
||||
- php.fpm.install
|
||||
- php.fpm.config
|
||||
@ -225,6 +227,7 @@ suites:
|
||||
state_top:
|
||||
base:
|
||||
'*':
|
||||
- php._mapdata
|
||||
- php
|
||||
pillars:
|
||||
top.sls:
|
||||
@ -246,6 +249,7 @@ suites:
|
||||
state_top:
|
||||
base:
|
||||
'*':
|
||||
- php._mapdata
|
||||
- php
|
||||
pillars:
|
||||
top.sls:
|
||||
|
13
php/_mapdata/_mapdata.jinja
Normal file
13
php/_mapdata/_mapdata.jinja
Normal file
@ -0,0 +1,13 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# {{ grains.get('osfinger', grains.os) }}
|
||||
---
|
||||
{#- use salt.slsutil.serialize to avoid encoding errors on some platforms #}
|
||||
{{ salt['slsutil.serialize'](
|
||||
'yaml',
|
||||
map,
|
||||
default_flow_style=False,
|
||||
allow_unicode=True,
|
||||
)
|
||||
| regex_replace("^\s+'$", "'", multiline=True)
|
||||
| trim
|
||||
}}
|
19
php/_mapdata/init.sls
Normal file
19
php/_mapdata/init.sls
Normal file
@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=sls
|
||||
---
|
||||
{#- Get the `tplroot` from `tpldir` #}
|
||||
{%- set tplroot = tpldir.split('/')[0] %}
|
||||
{%- from tplroot ~ "/map.jinja" import php as mapdata with context %}
|
||||
|
||||
{%- do salt['log.debug']('### MAP.JINJA DUMP ###\n' ~ mapdata | yaml(False)) %}
|
||||
|
||||
{%- set output_dir = '/temp' if grains.os_family == 'Windows' else '/tmp' %}
|
||||
{%- set output_file = output_dir ~ '/salt_mapdata_dump.yaml' %}
|
||||
|
||||
{{ tplroot }}-mapdata-dump:
|
||||
file.managed:
|
||||
- name: {{ output_file }}
|
||||
- source: salt://{{ tplroot }}/_mapdata/_mapdata.jinja
|
||||
- template: jinja
|
||||
- context:
|
||||
map: {{ mapdata | yaml }}
|
23
test/integration/default/controls/_mapdata_spec.rb
Normal file
23
test/integration/default/controls/_mapdata_spec.rb
Normal file
@ -0,0 +1,23 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'yaml'
|
||||
|
||||
control '`map.jinja` YAML dump' do
|
||||
title 'should match the comparison file'
|
||||
|
||||
# Strip the `platform[:finger]` version number down to the "OS major release"
|
||||
mapdata_file = "_mapdata/#{system.platform[:finger].split('.').first}.yaml"
|
||||
|
||||
# Load the mapdata from profile https://docs.chef.io/inspec/profiles/#profile-files
|
||||
mapdata_dump = YAML.safe_load(inspec.profile.file(mapdata_file))
|
||||
|
||||
# Derive the location of the dumped mapdata
|
||||
output_dir = platform[:family] == 'windows' ? '/temp' : '/tmp'
|
||||
output_file = "#{output_dir}/salt_mapdata_dump.yaml"
|
||||
|
||||
describe 'File content' do
|
||||
it 'should match profile map data exactly' do
|
||||
expect(yaml(output_file).params).to eq(mapdata_dump)
|
||||
end
|
||||
end
|
||||
end
|
@ -1,6 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
control 'Php configuration' do
|
||||
title 'should match desired lines'
|
||||
|
||||
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
||||
def test_debian
|
||||
describe file('/etc/php/5.6/fpm/pool.d/radius-admin.conf') do
|
||||
its('content') { should include '[radius-admin]' }
|
||||
@ -20,12 +23,11 @@ control 'Php configuration' do
|
||||
its('content') { should include 'date.timezone = Europe/Paris' }
|
||||
end
|
||||
end
|
||||
# rubocop:enable Metrics/MethodLength, Metrics/AbcSize
|
||||
|
||||
def test_redhat
|
||||
end
|
||||
def test_redhat; end
|
||||
|
||||
def test_suse
|
||||
end
|
||||
def test_suse; end
|
||||
|
||||
case os[:family]
|
||||
when 'debian'
|
||||
|
@ -1,6 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
control 'Php package' do
|
||||
title 'should be installed'
|
||||
|
||||
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
||||
def test_debian
|
||||
describe package('php-imagick') do
|
||||
it { should be_installed }
|
||||
@ -18,7 +21,6 @@ control 'Php package' do
|
||||
bz2 cli curl fpm gd imap intl mbstring
|
||||
mysql readline xml zip
|
||||
].each do |pkg|
|
||||
|
||||
describe package("php5.6-#{pkg}") do
|
||||
it { should be_installed }
|
||||
end
|
||||
@ -28,6 +30,7 @@ control 'Php package' do
|
||||
end
|
||||
end
|
||||
end
|
||||
# rubocop:enable Metrics/MethodLength, Metrics/AbcSize
|
||||
|
||||
def test_redhat
|
||||
describe package('php') do
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
control 'Php service' do
|
||||
title 'should be running and enabled'
|
||||
|
||||
@ -13,11 +15,9 @@ control 'Php service' do
|
||||
end
|
||||
end
|
||||
|
||||
def test_redhat
|
||||
end
|
||||
def test_redhat; end
|
||||
|
||||
def test_suse
|
||||
end
|
||||
def test_suse; end
|
||||
|
||||
case os[:family]
|
||||
when 'debian'
|
||||
|
323
test/integration/default/files/_mapdata/amazonlinux-1.yaml
Normal file
323
test/integration/default/files/_mapdata/amazonlinux-1.yaml
Normal file
@ -0,0 +1,323 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Amazon Linux AMI-2018
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
pools:
|
||||
default.conf:
|
||||
enabled: false
|
||||
opts: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php-fpm/error.log
|
||||
pid: /var/run/php-fpm/php-fpm.pid
|
||||
include: /etc/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
service: php-fpm
|
||||
user: root
|
||||
pkgs:
|
||||
adodb: php-adodb
|
||||
apc: php-pecl-apc
|
||||
apcu: php-pecl-apcu
|
||||
auth-sasl: php-pear-Auth-SASL
|
||||
bcmath: php-bcmath
|
||||
build_pkgs:
|
||||
- openssl-devel
|
||||
- gcc
|
||||
cache-lite: php-pear-Cache-Lite
|
||||
cgi: php-cgi
|
||||
cli: php-cli
|
||||
composer: composer
|
||||
composer_bin: composer
|
||||
console-table: php-pear-Console-Table
|
||||
curl:
|
||||
- php-common
|
||||
- curl
|
||||
dba:
|
||||
- php-dba
|
||||
- dba
|
||||
dev: php-devel
|
||||
ext_conf_path: /etc/php.d
|
||||
fpm: php-fpm
|
||||
gd: php-gd
|
||||
geoip: php-pecl-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php-php-gettext
|
||||
http: php-pecl-http
|
||||
imagick: php-pecl-imagick
|
||||
imap: php-imap
|
||||
intl: php-intl
|
||||
json: php-common
|
||||
ldap: php-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-pear-Mail
|
||||
mbstring: php-mbstring
|
||||
mcrypt: php-mcrypt
|
||||
memcache: php-pecl-memcache
|
||||
memcached: php-pecl-memcached
|
||||
mysql: php-mysql
|
||||
mysqlnd: php-mysqlnd
|
||||
net-smtp: php-pear-Net-SMTP
|
||||
net4: php-pear-Net-IPv4
|
||||
oauth: php-pecl-oauth
|
||||
opcache: php-pecl-zendopcache
|
||||
pear: php-pear
|
||||
pgsql: php-pgsql
|
||||
php: php
|
||||
pspell: php-pspell
|
||||
redis: php-pecl-redis
|
||||
seclib: php-phpseclib
|
||||
snmp: php-snmp
|
||||
soap: php-soap
|
||||
sqlite: php-pdo
|
||||
ssh2: php-pecl-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php-tidy
|
||||
uuid: php-pecl-uuid
|
||||
xcache: php-xcache
|
||||
xdebug: php-pecl-xdebug
|
||||
xml:
|
||||
- php-xml
|
||||
- php-xmlrpc
|
||||
xsl: php-xml
|
||||
zip: php
|
||||
xcache:
|
||||
ini: /etc/php.d/xcache.ini
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
xcache:
|
||||
xcache.cacher: 'On'
|
||||
xcache.coredump_directory: '""'
|
||||
xcache.coredump_type: '0'
|
||||
xcache.count: '1'
|
||||
xcache.disable_on_crash: 'Off'
|
||||
xcache.experimental: 'Off'
|
||||
xcache.gc_interval: '0'
|
||||
xcache.mmap_path: '"/dev/zero"'
|
||||
xcache.optimizer: 'Off'
|
||||
xcache.readonly_protection: 'Off'
|
||||
xcache.shm_scheme: '"mmap"'
|
||||
xcache.size: 60M
|
||||
xcache.slots: 8K
|
||||
xcache.stat: 'On'
|
||||
xcache.ttl: '0'
|
||||
xcache.var_count: '1'
|
||||
xcache.var_gc_interval: '300'
|
||||
xcache.var_maxttl: '0'
|
||||
xcache.var_namespace: '""'
|
||||
xcache.var_namespace_mode: '0'
|
||||
xcache.var_size: 4M
|
||||
xcache.var_slots: 8K
|
||||
xcache.var_ttl: '0'
|
||||
xcache-common:
|
||||
extension: xcache.so
|
||||
xcache.admin:
|
||||
xcache.admin.enable_auth: 'On'
|
||||
xcache.coverager:
|
||||
xcache.coveragedump_directory: '""'
|
||||
xcache.coverager: 'Off'
|
||||
xcache.coverager_autostart: 'On'
|
||||
opts: {}
|
||||
settings: {}
|
323
test/integration/default/files/_mapdata/amazonlinux-2.yaml
Normal file
323
test/integration/default/files/_mapdata/amazonlinux-2.yaml
Normal file
@ -0,0 +1,323 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Amazon Linux-2
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
pools:
|
||||
default.conf:
|
||||
enabled: false
|
||||
opts: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php-fpm/error.log
|
||||
pid: /var/run/php-fpm/php-fpm.pid
|
||||
include: /etc/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
service: php-fpm
|
||||
user: root
|
||||
pkgs:
|
||||
adodb: php-adodb
|
||||
apc: php-pecl-apc
|
||||
apcu: php-pecl-apcu
|
||||
auth-sasl: php-pear-Auth-SASL
|
||||
bcmath: php-bcmath
|
||||
build_pkgs:
|
||||
- openssl-devel
|
||||
- gcc
|
||||
cache-lite: php-pear-Cache-Lite
|
||||
cgi: php-cgi
|
||||
cli: php-cli
|
||||
composer: composer
|
||||
composer_bin: composer
|
||||
console-table: php-pear-Console-Table
|
||||
curl:
|
||||
- php-common
|
||||
- curl
|
||||
dba:
|
||||
- php-dba
|
||||
- dba
|
||||
dev: php-devel
|
||||
ext_conf_path: /etc/php.d
|
||||
fpm: php-fpm
|
||||
gd: php-gd
|
||||
geoip: php-pecl-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php-php-gettext
|
||||
http: php-pecl-http
|
||||
imagick: php-pecl-imagick
|
||||
imap: php-imap
|
||||
intl: php-intl
|
||||
json: php-common
|
||||
ldap: php-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-pear-Mail
|
||||
mbstring: php-mbstring
|
||||
mcrypt: php-mcrypt
|
||||
memcache: php-pecl-memcache
|
||||
memcached: php-pecl-memcached
|
||||
mysql: php-mysql
|
||||
mysqlnd: php-mysqlnd
|
||||
net-smtp: php-pear-Net-SMTP
|
||||
net4: php-pear-Net-IPv4
|
||||
oauth: php-pecl-oauth
|
||||
opcache: php-pecl-zendopcache
|
||||
pear: php-pear
|
||||
pgsql: php-pgsql
|
||||
php: php
|
||||
pspell: php-pspell
|
||||
redis: php-pecl-redis
|
||||
seclib: php-phpseclib
|
||||
snmp: php-snmp
|
||||
soap: php-soap
|
||||
sqlite: php-pdo
|
||||
ssh2: php-pecl-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php-tidy
|
||||
uuid: php-pecl-uuid
|
||||
xcache: php-xcache
|
||||
xdebug: php-pecl-xdebug
|
||||
xml:
|
||||
- php-xml
|
||||
- php-xmlrpc
|
||||
xsl: php-xml
|
||||
zip: php
|
||||
xcache:
|
||||
ini: /etc/php.d/xcache.ini
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
xcache:
|
||||
xcache.cacher: 'On'
|
||||
xcache.coredump_directory: '""'
|
||||
xcache.coredump_type: '0'
|
||||
xcache.count: '1'
|
||||
xcache.disable_on_crash: 'Off'
|
||||
xcache.experimental: 'Off'
|
||||
xcache.gc_interval: '0'
|
||||
xcache.mmap_path: '"/dev/zero"'
|
||||
xcache.optimizer: 'Off'
|
||||
xcache.readonly_protection: 'Off'
|
||||
xcache.shm_scheme: '"mmap"'
|
||||
xcache.size: 60M
|
||||
xcache.slots: 8K
|
||||
xcache.stat: 'On'
|
||||
xcache.ttl: '0'
|
||||
xcache.var_count: '1'
|
||||
xcache.var_gc_interval: '300'
|
||||
xcache.var_maxttl: '0'
|
||||
xcache.var_namespace: '""'
|
||||
xcache.var_namespace_mode: '0'
|
||||
xcache.var_size: 4M
|
||||
xcache.var_slots: 8K
|
||||
xcache.var_ttl: '0'
|
||||
xcache-common:
|
||||
extension: xcache.so
|
||||
xcache.admin:
|
||||
xcache.admin.enable_auth: 'On'
|
||||
xcache.coverager:
|
||||
xcache.coveragedump_directory: '""'
|
||||
xcache.coverager: 'Off'
|
||||
xcache.coverager_autostart: 'On'
|
||||
opts: {}
|
||||
settings: {}
|
323
test/integration/default/files/_mapdata/centos-7.yaml
Normal file
323
test/integration/default/files/_mapdata/centos-7.yaml
Normal file
@ -0,0 +1,323 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# CentOS Linux-7
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
pools:
|
||||
default.conf:
|
||||
enabled: false
|
||||
opts: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php-fpm/error.log
|
||||
pid: /var/run/php-fpm/php-fpm.pid
|
||||
include: /etc/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
service: php-fpm
|
||||
user: root
|
||||
pkgs:
|
||||
adodb: php-adodb
|
||||
apc: php-pecl-apc
|
||||
apcu: php-pecl-apcu
|
||||
auth-sasl: php-pear-Auth-SASL
|
||||
bcmath: php-bcmath
|
||||
build_pkgs:
|
||||
- openssl-devel
|
||||
- gcc
|
||||
cache-lite: php-pear-Cache-Lite
|
||||
cgi: php-cgi
|
||||
cli: php-cli
|
||||
composer: composer
|
||||
composer_bin: composer
|
||||
console-table: php-pear-Console-Table
|
||||
curl:
|
||||
- php-common
|
||||
- curl
|
||||
dba:
|
||||
- php-dba
|
||||
- dba
|
||||
dev: php-devel
|
||||
ext_conf_path: /etc/php.d
|
||||
fpm: php-fpm
|
||||
gd: php-gd
|
||||
geoip: php-pecl-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php-php-gettext
|
||||
http: php-pecl-http
|
||||
imagick: php-pecl-imagick
|
||||
imap: php-imap
|
||||
intl: php-intl
|
||||
json: php-common
|
||||
ldap: php-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-pear-Mail
|
||||
mbstring: php-mbstring
|
||||
mcrypt: php-mcrypt
|
||||
memcache: php-pecl-memcache
|
||||
memcached: php-pecl-memcached
|
||||
mysql: php-mysql
|
||||
mysqlnd: php-mysqlnd
|
||||
net-smtp: php-pear-Net-SMTP
|
||||
net4: php-pear-Net-IPv4
|
||||
oauth: php-pecl-oauth
|
||||
opcache: php-pecl-zendopcache
|
||||
pear: php-pear
|
||||
pgsql: php-pgsql
|
||||
php: php
|
||||
pspell: php-pspell
|
||||
redis: php-pecl-redis
|
||||
seclib: php-phpseclib
|
||||
snmp: php-snmp
|
||||
soap: php-soap
|
||||
sqlite: php-pdo
|
||||
ssh2: php-pecl-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php-tidy
|
||||
uuid: php-pecl-uuid
|
||||
xcache: php-xcache
|
||||
xdebug: php-pecl-xdebug
|
||||
xml:
|
||||
- php-xml
|
||||
- php-xmlrpc
|
||||
xsl: php-xml
|
||||
zip: php
|
||||
xcache:
|
||||
ini: /etc/php.d/xcache.ini
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
xcache:
|
||||
xcache.cacher: 'On'
|
||||
xcache.coredump_directory: '""'
|
||||
xcache.coredump_type: '0'
|
||||
xcache.count: '1'
|
||||
xcache.disable_on_crash: 'Off'
|
||||
xcache.experimental: 'Off'
|
||||
xcache.gc_interval: '0'
|
||||
xcache.mmap_path: '"/dev/zero"'
|
||||
xcache.optimizer: 'Off'
|
||||
xcache.readonly_protection: 'Off'
|
||||
xcache.shm_scheme: '"mmap"'
|
||||
xcache.size: 60M
|
||||
xcache.slots: 8K
|
||||
xcache.stat: 'On'
|
||||
xcache.ttl: '0'
|
||||
xcache.var_count: '1'
|
||||
xcache.var_gc_interval: '300'
|
||||
xcache.var_maxttl: '0'
|
||||
xcache.var_namespace: '""'
|
||||
xcache.var_namespace_mode: '0'
|
||||
xcache.var_size: 4M
|
||||
xcache.var_slots: 8K
|
||||
xcache.var_ttl: '0'
|
||||
xcache-common:
|
||||
extension: xcache.so
|
||||
xcache.admin:
|
||||
xcache.admin.enable_auth: 'On'
|
||||
xcache.coverager:
|
||||
xcache.coveragedump_directory: '""'
|
||||
xcache.coverager: 'Off'
|
||||
xcache.coverager_autostart: 'On'
|
||||
opts: {}
|
||||
settings: {}
|
323
test/integration/default/files/_mapdata/centos-8.yaml
Normal file
323
test/integration/default/files/_mapdata/centos-8.yaml
Normal file
@ -0,0 +1,323 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# CentOS Linux-8
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
pools:
|
||||
default.conf:
|
||||
enabled: false
|
||||
opts: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php-fpm/error.log
|
||||
pid: /var/run/php-fpm/php-fpm.pid
|
||||
include: /etc/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
service: php-fpm
|
||||
user: root
|
||||
pkgs:
|
||||
adodb: php-adodb
|
||||
apc: php-pecl-apc
|
||||
apcu: php-pecl-apcu
|
||||
auth-sasl: php-pear-Auth-SASL
|
||||
bcmath: php-bcmath
|
||||
build_pkgs:
|
||||
- openssl-devel
|
||||
- gcc
|
||||
cache-lite: php-pear-Cache-Lite
|
||||
cgi: php-cgi
|
||||
cli: php-cli
|
||||
composer: composer
|
||||
composer_bin: composer
|
||||
console-table: php-pear-Console-Table
|
||||
curl:
|
||||
- php-common
|
||||
- curl
|
||||
dba:
|
||||
- php-dba
|
||||
- dba
|
||||
dev: php-devel
|
||||
ext_conf_path: /etc/php.d
|
||||
fpm: php-fpm
|
||||
gd: php-gd
|
||||
geoip: php-pecl-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php-php-gettext
|
||||
http: php-pecl-http
|
||||
imagick: php-pecl-imagick
|
||||
imap: php-imap
|
||||
intl: php-intl
|
||||
json: php-common
|
||||
ldap: php-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-pear-Mail
|
||||
mbstring: php-mbstring
|
||||
mcrypt: php-mcrypt
|
||||
memcache: php-pecl-memcache
|
||||
memcached: php-pecl-memcached
|
||||
mysql: php-mysql
|
||||
mysqlnd: php-mysqlnd
|
||||
net-smtp: php-pear-Net-SMTP
|
||||
net4: php-pear-Net-IPv4
|
||||
oauth: php-pecl-oauth
|
||||
opcache: php-pecl-zendopcache
|
||||
pear: php-pear
|
||||
pgsql: php-pgsql
|
||||
php: php
|
||||
pspell: php-pspell
|
||||
redis: php-pecl-redis
|
||||
seclib: php-phpseclib
|
||||
snmp: php-snmp
|
||||
soap: php-soap
|
||||
sqlite: php-pdo
|
||||
ssh2: php-pecl-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php-tidy
|
||||
uuid: php-pecl-uuid
|
||||
xcache: php-xcache
|
||||
xdebug: php-pecl-xdebug
|
||||
xml:
|
||||
- php-xml
|
||||
- php-xmlrpc
|
||||
xsl: php-xml
|
||||
zip: php
|
||||
xcache:
|
||||
ini: /etc/php.d/xcache.ini
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
xcache:
|
||||
xcache.cacher: 'On'
|
||||
xcache.coredump_directory: '""'
|
||||
xcache.coredump_type: '0'
|
||||
xcache.count: '1'
|
||||
xcache.disable_on_crash: 'Off'
|
||||
xcache.experimental: 'Off'
|
||||
xcache.gc_interval: '0'
|
||||
xcache.mmap_path: '"/dev/zero"'
|
||||
xcache.optimizer: 'Off'
|
||||
xcache.readonly_protection: 'Off'
|
||||
xcache.shm_scheme: '"mmap"'
|
||||
xcache.size: 60M
|
||||
xcache.slots: 8K
|
||||
xcache.stat: 'On'
|
||||
xcache.ttl: '0'
|
||||
xcache.var_count: '1'
|
||||
xcache.var_gc_interval: '300'
|
||||
xcache.var_maxttl: '0'
|
||||
xcache.var_namespace: '""'
|
||||
xcache.var_namespace_mode: '0'
|
||||
xcache.var_size: 4M
|
||||
xcache.var_slots: 8K
|
||||
xcache.var_ttl: '0'
|
||||
xcache-common:
|
||||
extension: xcache.so
|
||||
xcache.admin:
|
||||
xcache.admin.enable_auth: 'On'
|
||||
xcache.coverager:
|
||||
xcache.coveragedump_directory: '""'
|
||||
xcache.coverager: 'Off'
|
||||
xcache.coverager_autostart: 'On'
|
||||
opts: {}
|
||||
settings: {}
|
390
test/integration/default/files/_mapdata/debian-10.yaml
Normal file
390
test/integration/default/files/_mapdata/debian-10.yaml
Normal file
@ -0,0 +1,390 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Debian-10
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
default_charset: UTF-8
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
cgi.fix_pathinfo: 0
|
||||
default_charset: UTF-8
|
||||
expose_php: 'Off'
|
||||
pools:
|
||||
ldap-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '7.3'
|
||||
settings:
|
||||
ldap-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-ldap-admin2.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
radius-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '5.6'
|
||||
settings:
|
||||
radius-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-radius-admin.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
apache2:
|
||||
ini: /etc/php/5.6/apache2/php.ini
|
||||
cli:
|
||||
ini: /etc/php/5.6/cli/php.ini
|
||||
fpm:
|
||||
conf: /etc/php/5.6/fpm/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php5.6-fpm.log
|
||||
pid: /var/run/php5.6-fpm.pid
|
||||
include: /etc/php/5.6/fpm/pool.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php/5.6/fpm/php.ini
|
||||
pools: /etc/php/5.6/fpm/pool.d
|
||||
service: php5.6-fpm
|
||||
user: root
|
||||
hhvm:
|
||||
conf: /etc/hhvm/server.ini
|
||||
defaults: {}
|
||||
ini: /etc/hhvm/php.ini
|
||||
php:
|
||||
hhvm.log.always_log_unhandled_exceptions: 'true'
|
||||
hhvm.log.level: Warning
|
||||
hhvm.log.runtime_error_reporting_level: '8191'
|
||||
hhvm.mysql.typed_results: 'false'
|
||||
session.gc_maxlifetime: '1440'
|
||||
session.save_handler: files
|
||||
session.save_path: /var/lib/hhvm/sessions
|
||||
server:
|
||||
hhvm.log.file: /var/log/hhvm/error.log
|
||||
hhvm.log.use_log_file: 'true'
|
||||
hhvm.repo.central.path: /var/run/hhvm/hhvm.hhbc
|
||||
hhvm.server.default_document: index.php
|
||||
hhvm.server.port: '9000'
|
||||
hhvm.server.type: fastcgi
|
||||
pid: /var/run/hhvm/pid
|
||||
service: hhvm
|
||||
pkgs:
|
||||
adodb: libphp-adodb
|
||||
apache2: libapache2-mod-php5.6
|
||||
apc: php-apcu
|
||||
apcu: php-apcu-bc
|
||||
auth-sasl: php-auth-sasl
|
||||
bcmath: php5.6-bcmath
|
||||
build_pkgs:
|
||||
- libssl-dev
|
||||
- libcurl4-openssl-dev
|
||||
- pkg-config
|
||||
- libsslcommon2-dev
|
||||
- gcc
|
||||
- make
|
||||
- autoconf
|
||||
- libc-dev
|
||||
- pkg-config
|
||||
bz2: php5.6-bz2
|
||||
cache-lite: php-cache-lite
|
||||
cgi: php5.6-cgi
|
||||
cli: php5.6-cli
|
||||
composer_bin: composer
|
||||
console-table: php-console-table
|
||||
curl: php5.6-curl
|
||||
dba: php5.6-dba
|
||||
dev: php5.6-dev
|
||||
ext_conf_path: /etc/php/5.6/mods-available
|
||||
fpm: php5.6-fpm
|
||||
gd: php5.6-gd
|
||||
gearman: php-gearman
|
||||
geoip: php-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php5.6
|
||||
gmp: php5.6-gmp
|
||||
hhvm: hhvm
|
||||
igbinary: php-igbinary
|
||||
imagick: php-imagick
|
||||
imap: php5.6-imap
|
||||
intl: php5.6-intl
|
||||
json: php5.6-json
|
||||
ldap: php5.6-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-mail
|
||||
mbstring: php5.6-mbstring
|
||||
mcrypt: php5.6-mcrypt
|
||||
memcache: php-memcache
|
||||
memcached: php-memcached
|
||||
mongo: php-mongo
|
||||
mongodb: php-mongodb
|
||||
msgpack: php-msgpack
|
||||
mysql: php5.6-mysql
|
||||
mysqlnd: php5.6-mysql
|
||||
net-smtp: php-net-smtp
|
||||
net4: php-net-ipv4
|
||||
net6: php-net-ipv6
|
||||
oauth: php-oauth
|
||||
odbc: php-odbc
|
||||
opcache: php5.6-opcache
|
||||
pear: php-pear
|
||||
pgsql: php5.6-pgsql
|
||||
php: php5.6
|
||||
phpenmod_command: phpenmod -v5.6
|
||||
pspell: php5.6-pspell
|
||||
readline: php5.6-readline
|
||||
redis: php-redis
|
||||
seclib:
|
||||
- php-phpseclib
|
||||
- php-seclib
|
||||
snmp: php5.6-snmp
|
||||
soap: php5.6-soap
|
||||
sqlite: php5.6-sqlite3
|
||||
ssh2: php-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
sybase: php5.6-sybase
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php5.6-tidy
|
||||
xdebug: php-xdebug
|
||||
xml:
|
||||
- php5.6-xml
|
||||
- php5.6-xmlrpc
|
||||
xsl: php5.6-xsl
|
||||
zip: php5.6-zip
|
||||
modules:
|
||||
- bz2
|
||||
- cli
|
||||
- curl
|
||||
- gd
|
||||
- imagick
|
||||
- imap
|
||||
- intl
|
||||
- mbstring
|
||||
- mysql
|
||||
- readline
|
||||
- redis
|
||||
- xdebug
|
||||
- xml
|
||||
- zip
|
||||
repo:
|
||||
file: /etc/apt/sources.list.d/php-sury.list
|
||||
humanname: php-sury repo
|
||||
key_url: https://packages.sury.org/php/apt.gpg
|
||||
name: deb https://packages.sury.org/php/ buster main
|
||||
version:
|
||||
- '5.6'
|
||||
- '7.3'
|
390
test/integration/default/files/_mapdata/debian-9.yaml
Normal file
390
test/integration/default/files/_mapdata/debian-9.yaml
Normal file
@ -0,0 +1,390 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Debian-9
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
default_charset: UTF-8
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
cgi.fix_pathinfo: 0
|
||||
default_charset: UTF-8
|
||||
expose_php: 'Off'
|
||||
pools:
|
||||
ldap-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '7.3'
|
||||
settings:
|
||||
ldap-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-ldap-admin2.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
radius-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '5.6'
|
||||
settings:
|
||||
radius-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-radius-admin.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
apache2:
|
||||
ini: /etc/php/5.6/apache2/php.ini
|
||||
cli:
|
||||
ini: /etc/php/5.6/cli/php.ini
|
||||
fpm:
|
||||
conf: /etc/php/5.6/fpm/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php5.6-fpm.log
|
||||
pid: /var/run/php5.6-fpm.pid
|
||||
include: /etc/php/5.6/fpm/pool.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php/5.6/fpm/php.ini
|
||||
pools: /etc/php/5.6/fpm/pool.d
|
||||
service: php5.6-fpm
|
||||
user: root
|
||||
hhvm:
|
||||
conf: /etc/hhvm/server.ini
|
||||
defaults: {}
|
||||
ini: /etc/hhvm/php.ini
|
||||
php:
|
||||
hhvm.log.always_log_unhandled_exceptions: 'true'
|
||||
hhvm.log.level: Warning
|
||||
hhvm.log.runtime_error_reporting_level: '8191'
|
||||
hhvm.mysql.typed_results: 'false'
|
||||
session.gc_maxlifetime: '1440'
|
||||
session.save_handler: files
|
||||
session.save_path: /var/lib/hhvm/sessions
|
||||
server:
|
||||
hhvm.log.file: /var/log/hhvm/error.log
|
||||
hhvm.log.use_log_file: 'true'
|
||||
hhvm.repo.central.path: /var/run/hhvm/hhvm.hhbc
|
||||
hhvm.server.default_document: index.php
|
||||
hhvm.server.port: '9000'
|
||||
hhvm.server.type: fastcgi
|
||||
pid: /var/run/hhvm/pid
|
||||
service: hhvm
|
||||
pkgs:
|
||||
adodb: libphp-adodb
|
||||
apache2: libapache2-mod-php5.6
|
||||
apc: php-apcu
|
||||
apcu: php-apcu-bc
|
||||
auth-sasl: php-auth-sasl
|
||||
bcmath: php5.6-bcmath
|
||||
build_pkgs:
|
||||
- libssl-dev
|
||||
- libcurl4-openssl-dev
|
||||
- pkg-config
|
||||
- libsslcommon2-dev
|
||||
- gcc
|
||||
- make
|
||||
- autoconf
|
||||
- libc-dev
|
||||
- pkg-config
|
||||
bz2: php5.6-bz2
|
||||
cache-lite: php-cache-lite
|
||||
cgi: php5.6-cgi
|
||||
cli: php5.6-cli
|
||||
composer_bin: composer
|
||||
console-table: php-console-table
|
||||
curl: php5.6-curl
|
||||
dba: php5.6-dba
|
||||
dev: php5.6-dev
|
||||
ext_conf_path: /etc/php/5.6/mods-available
|
||||
fpm: php5.6-fpm
|
||||
gd: php5.6-gd
|
||||
gearman: php-gearman
|
||||
geoip: php-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php5.6
|
||||
gmp: php5.6-gmp
|
||||
hhvm: hhvm
|
||||
igbinary: php-igbinary
|
||||
imagick: php-imagick
|
||||
imap: php5.6-imap
|
||||
intl: php5.6-intl
|
||||
json: php5.6-json
|
||||
ldap: php5.6-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-mail
|
||||
mbstring: php5.6-mbstring
|
||||
mcrypt: php5.6-mcrypt
|
||||
memcache: php-memcache
|
||||
memcached: php-memcached
|
||||
mongo: php-mongo
|
||||
mongodb: php-mongodb
|
||||
msgpack: php-msgpack
|
||||
mysql: php5.6-mysql
|
||||
mysqlnd: php5.6-mysql
|
||||
net-smtp: php-net-smtp
|
||||
net4: php-net-ipv4
|
||||
net6: php-net-ipv6
|
||||
oauth: php-oauth
|
||||
odbc: php-odbc
|
||||
opcache: php5.6-opcache
|
||||
pear: php-pear
|
||||
pgsql: php5.6-pgsql
|
||||
php: php5.6
|
||||
phpenmod_command: phpenmod -v5.6
|
||||
pspell: php5.6-pspell
|
||||
readline: php5.6-readline
|
||||
redis: php-redis
|
||||
seclib:
|
||||
- php-phpseclib
|
||||
- php-seclib
|
||||
snmp: php5.6-snmp
|
||||
soap: php5.6-soap
|
||||
sqlite: php5.6-sqlite3
|
||||
ssh2: php-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
sybase: php5.6-sybase
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php5.6-tidy
|
||||
xdebug: php-xdebug
|
||||
xml:
|
||||
- php5.6-xml
|
||||
- php5.6-xmlrpc
|
||||
xsl: php5.6-xsl
|
||||
zip: php5.6-zip
|
||||
modules:
|
||||
- bz2
|
||||
- cli
|
||||
- curl
|
||||
- gd
|
||||
- imagick
|
||||
- imap
|
||||
- intl
|
||||
- mbstring
|
||||
- mysql
|
||||
- readline
|
||||
- redis
|
||||
- xdebug
|
||||
- xml
|
||||
- zip
|
||||
repo:
|
||||
file: /etc/apt/sources.list.d/php-sury.list
|
||||
humanname: php-sury repo
|
||||
key_url: https://packages.sury.org/php/apt.gpg
|
||||
name: deb https://packages.sury.org/php/ stretch main
|
||||
version:
|
||||
- '5.6'
|
||||
- '7.3'
|
323
test/integration/default/files/_mapdata/fedora-30.yaml
Normal file
323
test/integration/default/files/_mapdata/fedora-30.yaml
Normal file
@ -0,0 +1,323 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Fedora-30
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
pools:
|
||||
default.conf:
|
||||
enabled: false
|
||||
opts: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php-fpm/error.log
|
||||
pid: /var/run/php-fpm/php-fpm.pid
|
||||
include: /etc/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
service: php-fpm
|
||||
user: root
|
||||
pkgs:
|
||||
adodb: php-adodb
|
||||
apc: php-pecl-apc
|
||||
apcu: php-pecl-apcu
|
||||
auth-sasl: php-pear-Auth-SASL
|
||||
bcmath: php-bcmath
|
||||
build_pkgs:
|
||||
- openssl-devel
|
||||
- gcc
|
||||
cache-lite: php-pear-Cache-Lite
|
||||
cgi: php-cgi
|
||||
cli: php-cli
|
||||
composer: composer
|
||||
composer_bin: composer
|
||||
console-table: php-pear-Console-Table
|
||||
curl:
|
||||
- php-common
|
||||
- curl
|
||||
dba:
|
||||
- php-dba
|
||||
- dba
|
||||
dev: php-devel
|
||||
ext_conf_path: /etc/php.d
|
||||
fpm: php-fpm
|
||||
gd: php-gd
|
||||
geoip: php-pecl-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php-php-gettext
|
||||
http: php-pecl-http
|
||||
imagick: php-pecl-imagick
|
||||
imap: php-imap
|
||||
intl: php-intl
|
||||
json: php-common
|
||||
ldap: php-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-pear-Mail
|
||||
mbstring: php-mbstring
|
||||
mcrypt: php-mcrypt
|
||||
memcache: php-pecl-memcache
|
||||
memcached: php-pecl-memcached
|
||||
mysql: php-mysql
|
||||
mysqlnd: php-mysqlnd
|
||||
net-smtp: php-pear-Net-SMTP
|
||||
net4: php-pear-Net-IPv4
|
||||
oauth: php-pecl-oauth
|
||||
opcache: php-pecl-zendopcache
|
||||
pear: php-pear
|
||||
pgsql: php-pgsql
|
||||
php: php
|
||||
pspell: php-pspell
|
||||
redis: php-pecl-redis
|
||||
seclib: php-phpseclib
|
||||
snmp: php-snmp
|
||||
soap: php-soap
|
||||
sqlite: php-pdo
|
||||
ssh2: php-pecl-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php-tidy
|
||||
uuid: php-pecl-uuid
|
||||
xcache: php-xcache
|
||||
xdebug: php-pecl-xdebug
|
||||
xml:
|
||||
- php-xml
|
||||
- php-xmlrpc
|
||||
xsl: php-xml
|
||||
zip: php
|
||||
xcache:
|
||||
ini: /etc/php.d/xcache.ini
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
xcache:
|
||||
xcache.cacher: 'On'
|
||||
xcache.coredump_directory: '""'
|
||||
xcache.coredump_type: '0'
|
||||
xcache.count: '1'
|
||||
xcache.disable_on_crash: 'Off'
|
||||
xcache.experimental: 'Off'
|
||||
xcache.gc_interval: '0'
|
||||
xcache.mmap_path: '"/dev/zero"'
|
||||
xcache.optimizer: 'Off'
|
||||
xcache.readonly_protection: 'Off'
|
||||
xcache.shm_scheme: '"mmap"'
|
||||
xcache.size: 60M
|
||||
xcache.slots: 8K
|
||||
xcache.stat: 'On'
|
||||
xcache.ttl: '0'
|
||||
xcache.var_count: '1'
|
||||
xcache.var_gc_interval: '300'
|
||||
xcache.var_maxttl: '0'
|
||||
xcache.var_namespace: '""'
|
||||
xcache.var_namespace_mode: '0'
|
||||
xcache.var_size: 4M
|
||||
xcache.var_slots: 8K
|
||||
xcache.var_ttl: '0'
|
||||
xcache-common:
|
||||
extension: xcache.so
|
||||
xcache.admin:
|
||||
xcache.admin.enable_auth: 'On'
|
||||
xcache.coverager:
|
||||
xcache.coveragedump_directory: '""'
|
||||
xcache.coverager: 'Off'
|
||||
xcache.coverager_autostart: 'On'
|
||||
opts: {}
|
||||
settings: {}
|
323
test/integration/default/files/_mapdata/fedora-31.yaml
Normal file
323
test/integration/default/files/_mapdata/fedora-31.yaml
Normal file
@ -0,0 +1,323 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Fedora-31
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
pools:
|
||||
default.conf:
|
||||
enabled: false
|
||||
opts: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php-fpm/error.log
|
||||
pid: /var/run/php-fpm/php-fpm.pid
|
||||
include: /etc/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
service: php-fpm
|
||||
user: root
|
||||
pkgs:
|
||||
adodb: php-adodb
|
||||
apc: php-pecl-apc
|
||||
apcu: php-pecl-apcu
|
||||
auth-sasl: php-pear-Auth-SASL
|
||||
bcmath: php-bcmath
|
||||
build_pkgs:
|
||||
- openssl-devel
|
||||
- gcc
|
||||
cache-lite: php-pear-Cache-Lite
|
||||
cgi: php-cgi
|
||||
cli: php-cli
|
||||
composer: composer
|
||||
composer_bin: composer
|
||||
console-table: php-pear-Console-Table
|
||||
curl:
|
||||
- php-common
|
||||
- curl
|
||||
dba:
|
||||
- php-dba
|
||||
- dba
|
||||
dev: php-devel
|
||||
ext_conf_path: /etc/php.d
|
||||
fpm: php-fpm
|
||||
gd: php-gd
|
||||
geoip: php-pecl-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php-php-gettext
|
||||
http: php-pecl-http
|
||||
imagick: php-pecl-imagick
|
||||
imap: php-imap
|
||||
intl: php-intl
|
||||
json: php-common
|
||||
ldap: php-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-pear-Mail
|
||||
mbstring: php-mbstring
|
||||
mcrypt: php-mcrypt
|
||||
memcache: php-pecl-memcache
|
||||
memcached: php-pecl-memcached
|
||||
mysql: php-mysql
|
||||
mysqlnd: php-mysqlnd
|
||||
net-smtp: php-pear-Net-SMTP
|
||||
net4: php-pear-Net-IPv4
|
||||
oauth: php-pecl-oauth
|
||||
opcache: php-pecl-zendopcache
|
||||
pear: php-pear
|
||||
pgsql: php-pgsql
|
||||
php: php
|
||||
pspell: php-pspell
|
||||
redis: php-pecl-redis
|
||||
seclib: php-phpseclib
|
||||
snmp: php-snmp
|
||||
soap: php-soap
|
||||
sqlite: php-pdo
|
||||
ssh2: php-pecl-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php-tidy
|
||||
uuid: php-pecl-uuid
|
||||
xcache: php-xcache
|
||||
xdebug: php-pecl-xdebug
|
||||
xml:
|
||||
- php-xml
|
||||
- php-xmlrpc
|
||||
xsl: php-xml
|
||||
zip: php
|
||||
xcache:
|
||||
ini: /etc/php.d/xcache.ini
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
xcache:
|
||||
xcache.cacher: 'On'
|
||||
xcache.coredump_directory: '""'
|
||||
xcache.coredump_type: '0'
|
||||
xcache.count: '1'
|
||||
xcache.disable_on_crash: 'Off'
|
||||
xcache.experimental: 'Off'
|
||||
xcache.gc_interval: '0'
|
||||
xcache.mmap_path: '"/dev/zero"'
|
||||
xcache.optimizer: 'Off'
|
||||
xcache.readonly_protection: 'Off'
|
||||
xcache.shm_scheme: '"mmap"'
|
||||
xcache.size: 60M
|
||||
xcache.slots: 8K
|
||||
xcache.stat: 'On'
|
||||
xcache.ttl: '0'
|
||||
xcache.var_count: '1'
|
||||
xcache.var_gc_interval: '300'
|
||||
xcache.var_maxttl: '0'
|
||||
xcache.var_namespace: '""'
|
||||
xcache.var_namespace_mode: '0'
|
||||
xcache.var_size: 4M
|
||||
xcache.var_slots: 8K
|
||||
xcache.var_ttl: '0'
|
||||
xcache-common:
|
||||
extension: xcache.so
|
||||
xcache.admin:
|
||||
xcache.admin.enable_auth: 'On'
|
||||
xcache.coverager:
|
||||
xcache.coveragedump_directory: '""'
|
||||
xcache.coverager: 'Off'
|
||||
xcache.coverager_autostart: 'On'
|
||||
opts: {}
|
||||
settings: {}
|
277
test/integration/default/files/_mapdata/opensuse-15.yaml
Normal file
277
test/integration/default/files/_mapdata/opensuse-15.yaml
Normal file
@ -0,0 +1,277 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Leap-15
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
pools:
|
||||
default.conf:
|
||||
enabled: false
|
||||
opts: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php-fpm/error.log
|
||||
pid: /var/run/php-fpm/php-fpm.pid
|
||||
include: /etc/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
service: php-fpm
|
||||
user: root
|
||||
pkgs:
|
||||
adodb: php5-dba
|
||||
apache2: apache2-mod_php5
|
||||
cli: php5
|
||||
curl: php5-curl
|
||||
fpm: php5-fpm
|
||||
gd: php5-gd
|
||||
imap: php5-imap
|
||||
intl: php5-intl
|
||||
json: php5-json
|
||||
ldap: php5-ldap
|
||||
mbstring: php5-mbstring
|
||||
mcrypt: php5-mcrypt
|
||||
mysql: php5-mysql
|
||||
oauth: php5-oauth
|
||||
pear: php5-pear
|
||||
pgsql: php5-pgsql
|
||||
php: php7
|
||||
snmp: php5-snmp
|
||||
soap: php5-soap
|
||||
sqlite: php5-sqlite
|
||||
suhosin: php5-suhosin
|
||||
xml:
|
||||
- php5-xmlreader
|
||||
- php5-xmlwriter
|
||||
- php5-xmlrpc
|
||||
zip: php5-zip
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
xcache:
|
||||
xcache.cacher: 'On'
|
||||
xcache.coredump_directory: '""'
|
||||
xcache.coredump_type: '0'
|
||||
xcache.count: '1'
|
||||
xcache.disable_on_crash: 'Off'
|
||||
xcache.experimental: 'Off'
|
||||
xcache.gc_interval: '0'
|
||||
xcache.mmap_path: '"/dev/zero"'
|
||||
xcache.optimizer: 'Off'
|
||||
xcache.readonly_protection: 'Off'
|
||||
xcache.shm_scheme: '"mmap"'
|
||||
xcache.size: 60M
|
||||
xcache.slots: 8K
|
||||
xcache.stat: 'On'
|
||||
xcache.ttl: '0'
|
||||
xcache.var_count: '1'
|
||||
xcache.var_gc_interval: '300'
|
||||
xcache.var_maxttl: '0'
|
||||
xcache.var_namespace: '""'
|
||||
xcache.var_namespace_mode: '0'
|
||||
xcache.var_size: 4M
|
||||
xcache.var_slots: 8K
|
||||
xcache.var_ttl: '0'
|
||||
xcache-common:
|
||||
extension: xcache.so
|
||||
xcache.admin:
|
||||
xcache.admin.enable_auth: 'On'
|
||||
xcache.coverager:
|
||||
xcache.coveragedump_directory: '""'
|
||||
xcache.coverager: 'Off'
|
||||
xcache.coverager_autostart: 'On'
|
||||
opts: {}
|
||||
settings: {}
|
389
test/integration/default/files/_mapdata/ubuntu-16.yaml
Normal file
389
test/integration/default/files/_mapdata/ubuntu-16.yaml
Normal file
@ -0,0 +1,389 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Ubuntu-16.04
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
default_charset: UTF-8
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
cgi.fix_pathinfo: 0
|
||||
default_charset: UTF-8
|
||||
expose_php: 'Off'
|
||||
pools:
|
||||
ldap-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '7.3'
|
||||
settings:
|
||||
ldap-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-ldap-admin2.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
radius-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '5.6'
|
||||
settings:
|
||||
radius-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-radius-admin.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
apache2:
|
||||
ini: /etc/php/5.6/apache2/php.ini
|
||||
cli:
|
||||
ini: /etc/php/5.6/cli/php.ini
|
||||
fpm:
|
||||
conf: /etc/php/5.6/fpm/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php5.6-fpm.log
|
||||
pid: /run/php/php5.6-fpm.pid
|
||||
include: /etc/php/5.6/fpm/pool.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php/5.6/fpm/php.ini
|
||||
pools: /etc/php/5.6/fpm/pool.d
|
||||
service: php5.6-fpm
|
||||
user: root
|
||||
hhvm:
|
||||
conf: /etc/hhvm/server.ini
|
||||
defaults: {}
|
||||
ini: /etc/hhvm/php.ini
|
||||
php:
|
||||
hhvm.log.always_log_unhandled_exceptions: 'true'
|
||||
hhvm.log.level: Warning
|
||||
hhvm.log.runtime_error_reporting_level: '8191'
|
||||
hhvm.mysql.typed_results: 'false'
|
||||
session.gc_maxlifetime: '1440'
|
||||
session.save_handler: files
|
||||
session.save_path: /var/lib/hhvm/sessions
|
||||
server:
|
||||
hhvm.log.file: /var/log/hhvm/error.log
|
||||
hhvm.log.use_log_file: 'true'
|
||||
hhvm.repo.central.path: /var/run/hhvm/hhvm.hhbc
|
||||
hhvm.server.default_document: index.php
|
||||
hhvm.server.port: '9000'
|
||||
hhvm.server.type: fastcgi
|
||||
pid: /var/run/hhvm/pid
|
||||
service: hhvm
|
||||
pkgs:
|
||||
adodb: libphp-adodb
|
||||
apache2: libapache2-mod-php5.6
|
||||
apc: php-apcu
|
||||
apcu: php-apcu-bc
|
||||
auth-sasl: php-auth-sasl
|
||||
bcmath: php5.6-bcmath
|
||||
build_pkgs:
|
||||
- libssl-dev
|
||||
- libcurl4-openssl-dev
|
||||
- pkg-config
|
||||
- libsslcommon2-dev
|
||||
- gcc
|
||||
- make
|
||||
- autoconf
|
||||
- libc-dev
|
||||
- pkg-config
|
||||
bz2: php5.6-bz2
|
||||
cache-lite: php-cache-lite
|
||||
cgi: php5.6-cgi
|
||||
cli: php5.6-cli
|
||||
composer_bin: composer
|
||||
console-table: php-console-table
|
||||
curl: php5.6-curl
|
||||
dba: php5.6-dba
|
||||
dev: php5.6-dev
|
||||
ext_conf_path: /etc/php/5.6/mods-available
|
||||
fpm: php5.6-fpm
|
||||
gd: php5.6-gd
|
||||
gearman: php-gearman
|
||||
geoip: php-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php5.6
|
||||
gmp: php5.6-gmp
|
||||
hhvm: hhvm
|
||||
imagick: php-imagick
|
||||
imap: php5.6-imap
|
||||
intl: php5.6-intl
|
||||
json: php5.6-json
|
||||
ldap: php5.6-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-mail
|
||||
mbstring: php5.6-mbstring
|
||||
mcrypt: php5.6-mcrypt
|
||||
memcache: php-memcache
|
||||
memcached: php-memcached
|
||||
mongo: php-mongo
|
||||
mongodb: php-mongodb
|
||||
mysql: php5.6-mysql
|
||||
mysqlnd: php5.6-mysql
|
||||
net-smtp: php-net-smtp
|
||||
net4: php-net-ipv4
|
||||
net6: php-net-ipv6
|
||||
oauth: php-oauth
|
||||
odbc: php-odbc
|
||||
opcache: php5.6-opcache
|
||||
pear: php-pear
|
||||
pgsql: php5.6-pgsql
|
||||
php: php5.6
|
||||
phpenmod_command: phpenmod -v5.6
|
||||
pspell: php5.6-pspell
|
||||
readline: php5.6-readline
|
||||
redis: php-redis
|
||||
seclib:
|
||||
- php-phpseclib
|
||||
- php-seclib
|
||||
snmp: php5.6-snmp
|
||||
soap: php5.6-soap
|
||||
sqlite: php5.6-sqlite3
|
||||
ssh2: php-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
sybase: php5.6-sybase
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php5.6-tidy
|
||||
xdebug: php-xdebug
|
||||
xml:
|
||||
- php5.6-xml
|
||||
- php5.6-xmlrpc
|
||||
xsl: php5.6-xsl
|
||||
zip: php5.6-zip
|
||||
modules:
|
||||
- bz2
|
||||
- cli
|
||||
- curl
|
||||
- gd
|
||||
- imagick
|
||||
- imap
|
||||
- intl
|
||||
- mbstring
|
||||
- mysql
|
||||
- readline
|
||||
- redis
|
||||
- xdebug
|
||||
- xml
|
||||
- zip
|
||||
repo:
|
||||
file: /etc/apt/sources.list.d/php-sury.list
|
||||
humanname: php-sury ppa
|
||||
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x14aa40ec0831756756d7f66c4f4ea0aae5267a6c
|
||||
name: deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
|
||||
use_external_repo: true
|
||||
version:
|
||||
- '5.6'
|
||||
- '7.3'
|
389
test/integration/default/files/_mapdata/ubuntu-18.yaml
Normal file
389
test/integration/default/files/_mapdata/ubuntu-18.yaml
Normal file
@ -0,0 +1,389 @@
|
||||
# yamllint disable rule:indentation rule:line-length
|
||||
# Ubuntu-18.04
|
||||
---
|
||||
apache2:
|
||||
ini:
|
||||
opts: {}
|
||||
settings: {}
|
||||
cli:
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
default_charset: UTF-8
|
||||
fpm:
|
||||
config:
|
||||
conf:
|
||||
opts: {}
|
||||
settings: {}
|
||||
ini:
|
||||
opts: {}
|
||||
settings:
|
||||
Assertion:
|
||||
zend.assertions: -1
|
||||
Date:
|
||||
date.timezone: Europe/Paris
|
||||
PHP:
|
||||
cgi.fix_pathinfo: 0
|
||||
default_charset: UTF-8
|
||||
expose_php: 'Off'
|
||||
pools:
|
||||
ldap-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '7.3'
|
||||
settings:
|
||||
ldap-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-ldap-admin2.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
radius-admin.conf:
|
||||
enabled: true
|
||||
phpversion: '5.6'
|
||||
settings:
|
||||
radius-admin:
|
||||
catch_workers_output: 'yes'
|
||||
group: www-data
|
||||
listen: /tmp/php-fpm-radius-admin.sock
|
||||
listen.mode: '0666'
|
||||
php_admin_value[date.timezone]: Europe/Paris
|
||||
ping.path: /php-ping
|
||||
pm: static
|
||||
pm.max_children: 3
|
||||
pm.max_requests: 500
|
||||
pm.status_path: /php-status
|
||||
security.limit_extensions: .php
|
||||
user: www-data
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
hhvm:
|
||||
config:
|
||||
php:
|
||||
opts: {}
|
||||
settings: {}
|
||||
server:
|
||||
opts: {}
|
||||
settings: {}
|
||||
service:
|
||||
enabled: true
|
||||
opts: {}
|
||||
ini:
|
||||
defaults:
|
||||
CLI Server:
|
||||
cli_server.color: 'On'
|
||||
Date:
|
||||
date.timezone: America/New_York
|
||||
Interbase:
|
||||
ibase.allow_persistent: 1
|
||||
ibase.dateformat: '"%Y-%m-%d"'
|
||||
ibase.max_links: -1
|
||||
ibase.max_persistent: -1
|
||||
ibase.timeformat: '"%H:%M:%S"'
|
||||
ibase.timestampformat: '"%Y-%m-%d %H:%M:%S"'
|
||||
MSSQL:
|
||||
mssql.allow_persistent: 'On'
|
||||
mssql.compatibility_mode: 'Off'
|
||||
mssql.max_links: -1
|
||||
mssql.max_persistent: -1
|
||||
mssql.min_error_severity: 10
|
||||
mssql.min_message_severity: 10
|
||||
mssql.secure_connection: 'Off'
|
||||
MySQL:
|
||||
mysql.allow_local_infile: 'On'
|
||||
mysql.allow_persistent: 'On'
|
||||
mysql.cache_size: '2000'
|
||||
mysql.connect_timeout: 60
|
||||
mysql.max_links: -1
|
||||
mysql.max_persistent: -1
|
||||
mysql.trace_mode: 'Off'
|
||||
MySQLi:
|
||||
mysqli.allow_persistent: 'On'
|
||||
mysqli.cache_size: 2000
|
||||
mysqli.default_port: 3306
|
||||
mysqli.max_links: -1
|
||||
mysqli.max_persistent: -1
|
||||
mysqli.reconnect: 'Off'
|
||||
ODBC:
|
||||
odbc.allow_persistent: 'On'
|
||||
odbc.check_persistent: 'On'
|
||||
odbc.defaultbinmode: 1
|
||||
odbc.defaultlrl: 4096
|
||||
odbc.max_links: '-1'
|
||||
odbc.max_persistent: '-1'
|
||||
PHP:
|
||||
allow_url_fopen: 'On'
|
||||
allow_url_include: 'Off'
|
||||
asp_tags: 'Off'
|
||||
auto_globals_jit: 'On'
|
||||
default_mimetype: '"text/html"'
|
||||
default_socket_timeout: 60
|
||||
disable_functions:
|
||||
- pcntl_alarm
|
||||
- pcntl_fork
|
||||
- pcntl_waitpid
|
||||
- pcntl_wait
|
||||
- pcntl_wifexited
|
||||
- pcntl_wifstopped
|
||||
- pcntl_wifsignaled
|
||||
- pcntl_wexitstatus
|
||||
- pcntl_wtermsig
|
||||
- pcntl_wstopsig
|
||||
- pcntl_signal
|
||||
- pcntl_signal_dispatch
|
||||
- pcntl_get_last_error
|
||||
- pcntl_strerror
|
||||
- pcntl_sigprocmask
|
||||
- pcntl_sigwaitinfo
|
||||
- pcntl_sigtimedwait
|
||||
- pcntl_exec
|
||||
- pcntl_getpriority
|
||||
- pcntl_setpriority
|
||||
display_errors: 'Off'
|
||||
display_startup_errors: 'Off'
|
||||
enable_dl: 'Off'
|
||||
engine: 'On'
|
||||
error_reporting:
|
||||
- E_ALL
|
||||
- ~E_DEPRECATED
|
||||
- ~E_STRICT
|
||||
expose_php: 'On'
|
||||
file_uploads: 'On'
|
||||
html_errors: 'On'
|
||||
ignore_repeated_errors: 'Off'
|
||||
ignore_repeated_source: 'Off'
|
||||
implicit_flush: 'Off'
|
||||
log_errors: 'On'
|
||||
log_errors_max_len: 1024
|
||||
max_execution_time: 30
|
||||
max_file_uploads: 20
|
||||
max_input_nesting_level: 64
|
||||
max_input_time: 60
|
||||
max_input_vars: 1000
|
||||
memory_limit: 128M
|
||||
output_buffering: 4096
|
||||
post_max_size: 8M
|
||||
precision: 14
|
||||
register_argc_argv: 'Off'
|
||||
report_memleaks: 'On'
|
||||
request_order: GP
|
||||
serialize_precision: 17
|
||||
short_open_tag: 'Off'
|
||||
track_errors: 'Off'
|
||||
upload_max_filesize: 2M
|
||||
variables_order: GPCS
|
||||
zend.enable_gc: 'On'
|
||||
zlib.output_compression: 'Off'
|
||||
Pdo_mysql:
|
||||
pdo_mysql.cache_size: 2000
|
||||
PostgreSQL:
|
||||
pgsql.allow_persistent: 'On'
|
||||
pgsql.auto_reset_persistent: 'Off'
|
||||
pgsql.ignore_notice: 0
|
||||
pgsql.log_notice: 0
|
||||
pgsql.max_links: -1
|
||||
pgsql.max_persistent: -1
|
||||
SQL:
|
||||
sql.safe_mode: 'Off'
|
||||
Session:
|
||||
session.auto_start: 0
|
||||
session.bug_compat_42: 'Off'
|
||||
session.bug_compat_warn: 'Off'
|
||||
session.cache_expire: '180'
|
||||
session.cache_limiter: nocache
|
||||
session.cookie_lifetime: 0
|
||||
session.cookie_path: /
|
||||
session.gc_divisor: 1000
|
||||
session.gc_maxlifetime: 1440
|
||||
session.gc_probability: 0
|
||||
session.hash_bits_per_character: 5
|
||||
session.hash_function: 0
|
||||
session.name: PHPSESSID
|
||||
session.save_handler: files
|
||||
session.serialize_handler: php
|
||||
session.use_cookies: 1
|
||||
session.use_only_cookies: 1
|
||||
session.use_strict_mode: 0
|
||||
session.use_trans_sid: 0
|
||||
url_rewriter.tags: '"a=href,area=href,frame=src,input=src,form=fakeentry"'
|
||||
Sybase-CT:
|
||||
sybct.allow_persistent: 'On'
|
||||
sybct.max_links: -1
|
||||
sybct.max_persistent: -1
|
||||
sybct.min_client_severity: 10
|
||||
sybct.min_server_severity: 10
|
||||
Tidy:
|
||||
tidy.clean_output: 'Off'
|
||||
bcmath:
|
||||
bcmath.scale: 0
|
||||
ldap:
|
||||
ldap.max_links: -1
|
||||
mail function:
|
||||
SMTP: localhost
|
||||
mail.add_x_header: 'On'
|
||||
mysqlnd:
|
||||
mysqlnd.collect_memory_statistics: 'Off'
|
||||
mysqlnd.collect_statistics: 'On'
|
||||
soap:
|
||||
soap.wsdl_cache_dir: '"/tmp"'
|
||||
soap.wsdl_cache_enabled: 1
|
||||
soap.wsdl_cache_limit: 5
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
apache2:
|
||||
ini: /etc/php/5.6/apache2/php.ini
|
||||
cli:
|
||||
ini: /etc/php/5.6/cli/php.ini
|
||||
fpm:
|
||||
conf: /etc/php/5.6/fpm/php-fpm.conf
|
||||
defaults:
|
||||
global:
|
||||
error_log: /var/log/php5.6-fpm.log
|
||||
pid: /run/php/php5.6-fpm.pid
|
||||
include: /etc/php/5.6/fpm/pool.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php/5.6/fpm/php.ini
|
||||
pools: /etc/php/5.6/fpm/pool.d
|
||||
service: php5.6-fpm
|
||||
user: root
|
||||
hhvm:
|
||||
conf: /etc/hhvm/server.ini
|
||||
defaults: {}
|
||||
ini: /etc/hhvm/php.ini
|
||||
php:
|
||||
hhvm.log.always_log_unhandled_exceptions: 'true'
|
||||
hhvm.log.level: Warning
|
||||
hhvm.log.runtime_error_reporting_level: '8191'
|
||||
hhvm.mysql.typed_results: 'false'
|
||||
session.gc_maxlifetime: '1440'
|
||||
session.save_handler: files
|
||||
session.save_path: /var/lib/hhvm/sessions
|
||||
server:
|
||||
hhvm.log.file: /var/log/hhvm/error.log
|
||||
hhvm.log.use_log_file: 'true'
|
||||
hhvm.repo.central.path: /var/run/hhvm/hhvm.hhbc
|
||||
hhvm.server.default_document: index.php
|
||||
hhvm.server.port: '9000'
|
||||
hhvm.server.type: fastcgi
|
||||
pid: /var/run/hhvm/pid
|
||||
service: hhvm
|
||||
pkgs:
|
||||
adodb: libphp-adodb
|
||||
apache2: libapache2-mod-php5.6
|
||||
apc: php-apcu
|
||||
apcu: php-apcu-bc
|
||||
auth-sasl: php-auth-sasl
|
||||
bcmath: php5.6-bcmath
|
||||
build_pkgs:
|
||||
- libssl-dev
|
||||
- libcurl4-openssl-dev
|
||||
- pkg-config
|
||||
- libsslcommon2-dev
|
||||
- gcc
|
||||
- make
|
||||
- autoconf
|
||||
- libc-dev
|
||||
- pkg-config
|
||||
bz2: php5.6-bz2
|
||||
cache-lite: php-cache-lite
|
||||
cgi: php5.6-cgi
|
||||
cli: php5.6-cli
|
||||
composer_bin: composer
|
||||
console-table: php-console-table
|
||||
curl: php5.6-curl
|
||||
dba: php5.6-dba
|
||||
dev: php5.6-dev
|
||||
ext_conf_path: /etc/php/5.6/mods-available
|
||||
fpm: php5.6-fpm
|
||||
gd: php5.6-gd
|
||||
gearman: php-gearman
|
||||
geoip: php-geoip
|
||||
geshi: php-geshi
|
||||
gettext: php5.6
|
||||
gmp: php5.6-gmp
|
||||
hhvm: hhvm
|
||||
imagick: php-imagick
|
||||
imap: php5.6-imap
|
||||
intl: php5.6-intl
|
||||
json: php5.6-json
|
||||
ldap: php5.6-ldap
|
||||
local_bin: /usr/local/bin
|
||||
mail: php-mail
|
||||
mbstring: php5.6-mbstring
|
||||
mcrypt: php5.6-mcrypt
|
||||
memcache: php-memcache
|
||||
memcached: php-memcached
|
||||
mongo: php-mongo
|
||||
mongodb: php-mongodb
|
||||
mysql: php5.6-mysql
|
||||
mysqlnd: php5.6-mysql
|
||||
net-smtp: php-net-smtp
|
||||
net4: php-net-ipv4
|
||||
net6: php-net-ipv6
|
||||
oauth: php-oauth
|
||||
odbc: php-odbc
|
||||
opcache: php5.6-opcache
|
||||
pear: php-pear
|
||||
pgsql: php5.6-pgsql
|
||||
php: php5.6
|
||||
phpenmod_command: phpenmod -v5.6
|
||||
pspell: php5.6-pspell
|
||||
readline: php5.6-readline
|
||||
redis: php-redis
|
||||
seclib:
|
||||
- php-phpseclib
|
||||
- php-seclib
|
||||
snmp: php5.6-snmp
|
||||
soap: php5.6-soap
|
||||
sqlite: php5.6-sqlite3
|
||||
ssh2: php-ssh2
|
||||
suhosin5_ext: suhosin.so
|
||||
suhosin5_repo: https://github.com/sektioneins/suhosin
|
||||
suhosin7_ext: suhosin7.so
|
||||
suhosin7_repo: https://github.com/sektioneins/suhosin7
|
||||
sybase: php5.6-sybase
|
||||
tcpdf: php-tcpdf
|
||||
temp_dir: /tmp
|
||||
tidy: php5.6-tidy
|
||||
xdebug: php-xdebug
|
||||
xml:
|
||||
- php5.6-xml
|
||||
- php5.6-xmlrpc
|
||||
xsl: php5.6-xsl
|
||||
zip: php5.6-zip
|
||||
modules:
|
||||
- bz2
|
||||
- cli
|
||||
- curl
|
||||
- gd
|
||||
- imagick
|
||||
- imap
|
||||
- intl
|
||||
- mbstring
|
||||
- mysql
|
||||
- readline
|
||||
- redis
|
||||
- xdebug
|
||||
- xml
|
||||
- zip
|
||||
repo:
|
||||
file: /etc/apt/sources.list.d/php-sury.list
|
||||
humanname: php-sury ppa
|
||||
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x14aa40ec0831756756d7f66c4f4ea0aae5267a6c
|
||||
name: deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
|
||||
use_external_repo: true
|
||||
version:
|
||||
- '5.6'
|
||||
- '7.3'
|
@ -6,6 +6,9 @@ title: php formula
|
||||
maintainer: SaltStack Formulas
|
||||
license: Apache-2.0
|
||||
summary: Verify that the php formula is setup and configured correctly
|
||||
depends:
|
||||
- name: share
|
||||
path: test/integration/share
|
||||
supports:
|
||||
- platform-name: debian
|
||||
- platform-name: ubuntu
|
||||
|
21
test/integration/share/README.md
Normal file
21
test/integration/share/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# InSpec Profile: `share`
|
||||
|
||||
This shows the implementation of the `share` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
|
||||
|
||||
Its goal is to share the libraries between all profiles.
|
||||
|
||||
## Libraries
|
||||
|
||||
### `system`
|
||||
|
||||
The `system` library provides easy access to system dependent information:
|
||||
|
||||
- `system.platform`: based on `inspec.platform`, modify to values that are more consistent from a SaltStack perspective
|
||||
- `system.platform[:family]` provide a family name for Arch and Gentoo
|
||||
- `system.platform[:name]` append `linux` to both `amazon` and `oracle`; ensure Windows platforms are resolved as simply `windows`
|
||||
- `system.platform[:release]` tweak Arch, Amazon Linux, Gentoo and Windows:
|
||||
- `Arch` is always `base-latest`
|
||||
- `Amazon Linux` release `2018` is resolved as `1`
|
||||
- `Gentoo` release is trimmed to its major version number and then the init system is appended (i.e. `sysv` or `sysd`)
|
||||
- `Windows` uses the widely-used release number (e.g. `8.1` or `2019-server`) in place of the actual system release version
|
||||
- `system.platform[:finger]` is the concatenation of the name and the major release number (except for Ubuntu, which gives `ubuntu-20.04` for example)
|
21
test/integration/share/inspec.yml
Normal file
21
test/integration/share/inspec.yml
Normal file
@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=yaml
|
||||
---
|
||||
name: share
|
||||
title: InSpec shared resources
|
||||
maintainer: SaltStack Formulas
|
||||
license: Apache-2.0
|
||||
summary: shared resources
|
||||
supports:
|
||||
- platform-name: debian
|
||||
- platform-name: ubuntu
|
||||
- platform-name: centos
|
||||
- platform-name: fedora
|
||||
- platform-name: opensuse
|
||||
- platform-name: suse
|
||||
- platform-name: freebsd
|
||||
- platform-name: amazon
|
||||
- platform-name: oracle
|
||||
- platform-name: arch
|
||||
- platform-name: gentoo
|
||||
- platform: windows
|
89
test/integration/share/libraries/system.rb
Normal file
89
test/integration/share/libraries/system.rb
Normal file
@ -0,0 +1,89 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# system.rb -- InSpec resources for system values
|
||||
# Author: Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
|
||||
# Copyright (C) 2020 Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
|
||||
|
||||
class SystemResource < Inspec.resource(1)
|
||||
name 'system'
|
||||
|
||||
attr_reader :platform
|
||||
|
||||
def initialize
|
||||
super
|
||||
@platform = build_platform
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def build_platform
|
||||
{
|
||||
family: build_platform_family,
|
||||
name: build_platform_name,
|
||||
release: build_platform_release,
|
||||
finger: build_platform_finger
|
||||
}
|
||||
end
|
||||
|
||||
def build_platform_family
|
||||
case inspec.platform[:name]
|
||||
when 'arch', 'gentoo'
|
||||
inspec.platform[:name]
|
||||
else
|
||||
inspec.platform[:family]
|
||||
end
|
||||
end
|
||||
|
||||
def build_platform_name
|
||||
case inspec.platform[:name]
|
||||
when 'amazon', 'oracle'
|
||||
"#{inspec.platform[:name]}linux"
|
||||
when 'windows_8.1_pro', 'windows_server_2019_datacenter'
|
||||
'windows'
|
||||
else
|
||||
inspec.platform[:name]
|
||||
end
|
||||
end
|
||||
|
||||
# rubocop:disable Metrics/MethodLength
|
||||
def build_platform_release
|
||||
case inspec.platform[:name]
|
||||
when 'amazon'
|
||||
# `2018` relase is named `1` in kitchen.yaml
|
||||
inspec.platform[:release].gsub(/2018.*/, '1')
|
||||
when 'arch'
|
||||
'base-latest'
|
||||
when 'gentoo'
|
||||
"#{inspec.platform[:release].split('.')[0]}-#{derive_gentoo_init_system}"
|
||||
when 'windows_8.1_pro'
|
||||
'8.1'
|
||||
when 'windows_server_2019_datacenter'
|
||||
'2019-server'
|
||||
else
|
||||
inspec.platform[:release]
|
||||
end
|
||||
end
|
||||
# rubocop:enable Metrics/MethodLength
|
||||
|
||||
def derive_gentoo_init_system
|
||||
case inspec.command('systemctl').exist?
|
||||
when true
|
||||
'sysd'
|
||||
else
|
||||
'sysv'
|
||||
end
|
||||
end
|
||||
|
||||
def build_platform_finger
|
||||
"#{build_platform_name}-#{build_finger_release}"
|
||||
end
|
||||
|
||||
def build_finger_release
|
||||
case inspec.platform[:name]
|
||||
when 'ubuntu'
|
||||
build_platform_release.split('.').slice(0, 2).join('.')
|
||||
else
|
||||
build_platform_release.split('.')[0]
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user