Compare commits
3 Commits
master
...
libertacas
Author | SHA1 | Date | |
---|---|---|---|
82fb667a88 | |||
23543ffa8b | |||
55d15459bd |
@ -154,7 +154,7 @@ redhat-centos-stream8-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||
redhat-centos-7-master-py3: {extends: '.test_instance'}
|
||||
redhat-fedora-36-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||
redhat-fedora-35-master-py3: {extends: '.test_instance'}
|
||||
suse-opensuse-leap-153-master-py3: {extends: '.test_instance'}
|
||||
suse-opensuse-leap-154-master-py3: {extends: '.test_instance'}
|
||||
suse-opensuse-tmbl-latest-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||
redhat-amazonlinux-2-master-py3: {extends: '.test_instance'}
|
||||
redhat-oraclelinux-8-master-py3: {extends: '.test_instance'}
|
||||
@ -176,7 +176,7 @@ redhat-rockylinux-8-master-py3: {extends: '.test_instance'}
|
||||
# redhat-oraclelinux-7-3004-1-py3: {extends: '.test_instance'}
|
||||
# redhat-almalinux-8-3004-1-py3: {extends: '.test_instance'}
|
||||
# redhat-rockylinux-8-3004-1-py3: {extends: '.test_instance'}
|
||||
# suse-opensuse-leap-153-3004-0-py3: {extends: '.test_instance'}
|
||||
# suse-opensuse-leap-154-3004-0-py3: {extends: '.test_instance'}
|
||||
# suse-opensuse-tmbl-latest-3004-0-py3: {extends: '.test_instance_failure_permitted'}
|
||||
# debian-debian-10-3003-4-py3: {extends: '.test_instance'}
|
||||
# debian-debian-9-3003-4-py3: {extends: '.test_instance'}
|
||||
|
@ -106,7 +106,7 @@ jobs:
|
||||
- env: INSTANCE=redhat-centos-7-master-py3
|
||||
- env: INSTANCE=redhat-fedora-36-master-py3
|
||||
- env: INSTANCE=redhat-fedora-35-master-py3
|
||||
- env: INSTANCE=suse-opensuse-leap-153-master-py3
|
||||
- env: INSTANCE=suse-opensuse-leap-154-master-py3
|
||||
- env: INSTANCE=suse-opensuse-tmbl-latest-master-py3
|
||||
- env: INSTANCE=redhat-amazonlinux-2-master-py3
|
||||
- env: INSTANCE=redhat-oraclelinux-8-master-py3
|
||||
@ -128,7 +128,7 @@ jobs:
|
||||
# - env: INSTANCE=redhat-oraclelinux-7-3004-1-py3
|
||||
# - env: INSTANCE=redhat-almalinux-8-3004-1-py3
|
||||
# - env: INSTANCE=redhat-rockylinux-8-3004-1-py3
|
||||
# - env: INSTANCE=suse-opensuse-leap-153-3004-0-py3
|
||||
# - env: INSTANCE=suse-opensuse-leap-154-3004-0-py3
|
||||
# - env: INSTANCE=suse-opensuse-tmbl-latest-3004-0-py3
|
||||
# - env: INSTANCE=debian-debian-10-3003-4-py3
|
||||
# - env: INSTANCE=debian-debian-9-3003-4-py3
|
||||
|
@ -140,7 +140,7 @@ Installs the php-cache-lite package.
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
Installs the php-cgi package.
|
||||
Disabled on opensuse only php5-fastcgi available.
|
||||
Disabled on openSUSE, as there is only php-fastcgi available.
|
||||
|
||||
``php.cli``
|
||||
^^^^^^^^^^^^^^
|
||||
|
10
kitchen.yml
10
kitchen.yml
@ -103,9 +103,9 @@ platforms:
|
||||
- name: fedora-35-master-py3
|
||||
driver:
|
||||
image: saltimages/salt-master-py3:fedora-35
|
||||
- name: opensuse-leap-153-master-py3
|
||||
- name: opensuse-leap-154-master-py3
|
||||
driver:
|
||||
image: saltimages/salt-master-py3:opensuse-leap-15.3
|
||||
image: saltimages/salt-master-py3:opensuse-leap-15.4
|
||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||
transport:
|
||||
@ -207,7 +207,7 @@ platforms:
|
||||
image: saltimages/salt-3004.1-py3:rockylinux-8
|
||||
|
||||
## SALT `3004.0`
|
||||
- name: opensuse-leap-153-3004-0-py3
|
||||
- name: opensuse-leap-154-3004-0-py3
|
||||
driver:
|
||||
image: saltimages/salt-3004.0-py3:opensuse-leap-15.3
|
||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||
@ -388,9 +388,9 @@ suites:
|
||||
- path: test/integration/default
|
||||
- name: suse
|
||||
includes:
|
||||
- opensuse-leap-153-master-py3
|
||||
- opensuse-leap-154-master-py3
|
||||
- opensuse-tmbl-latest-master-py3
|
||||
- opensuse-leap-153-3004-0-py3
|
||||
- opensuse-leap-154-3004-0-py3
|
||||
- opensuse-tmbl-latest-3004-0-py3
|
||||
provisioner:
|
||||
state_top:
|
||||
|
@ -56,12 +56,16 @@ php_fpm_conf_config_{{ version }}:
|
||||
{%- set conf_settings = php.lookup.fpm.defaults %}
|
||||
{%- do conf_settings.update(php.fpm.config.conf.settings) %}
|
||||
|
||||
{#-
|
||||
FIX-LIBERTACASA: prevent conflicts with packaged PHP INI configurations, to-do: solve in default map instead:
|
||||
https://github.com/saltstack-formulas/php-formula/pull/238#issuecomment-1445219305
|
||||
php_fpm_ini_config:
|
||||
{{ php_ini(php.lookup.fpm.ini,
|
||||
'php_fpm_ini_config',
|
||||
php.fpm.config.ini.opts,
|
||||
ini_settings
|
||||
) }}
|
||||
#}
|
||||
|
||||
php_fpm_conf_config:
|
||||
{{ php_ini(php.lookup.fpm.conf,
|
||||
|
@ -36,15 +36,15 @@ extend:
|
||||
php_fpm_service:
|
||||
service:
|
||||
- watch:
|
||||
- file: php_fpm_ini_config
|
||||
# - file: php_fpm_ini_config
|
||||
- file: php_fpm_conf_config
|
||||
- require:
|
||||
- sls: php.fpm.config
|
||||
|
||||
php_fpm_ini_config:
|
||||
file:
|
||||
- require:
|
||||
- pkg: php_install_fpm
|
||||
# php_fpm_ini_config:
|
||||
# file:
|
||||
# - require:
|
||||
# - pkg: php_install_fpm
|
||||
|
||||
php_fpm_conf_config:
|
||||
file:
|
||||
|
@ -3000,47 +3000,43 @@
|
||||
},
|
||||
'Suse': {
|
||||
'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': 'php5',
|
||||
'snmp': 'php5-snmp',
|
||||
'soap': 'php5-soap',
|
||||
'sqlite': 'php5-sqlite',
|
||||
'suhosin': 'php5-suhosin',
|
||||
'xml': ['php5-xmlreader','php5-xmlwriter','php5-xmlrpc'],
|
||||
'zip': 'php5-zip',
|
||||
'adodb': 'php8-dba',
|
||||
'apache2': 'apache2-mod_php8',
|
||||
'cli': 'php8',
|
||||
'curl': 'php8-curl',
|
||||
'fpm': 'php8-fpm',
|
||||
'gd': 'php8-gd',
|
||||
'imap': 'php8-imap',
|
||||
'intl': 'php8-intl',
|
||||
'json': 'php8-json',
|
||||
'ldap': 'php8-ldap',
|
||||
'mbstring': 'php8-mbstring',
|
||||
'mcrypt': 'php8-mcrypt',
|
||||
'mysql': 'php8-mysql',
|
||||
'oauth': 'php8-oauth',
|
||||
'pear': 'php8-pear',
|
||||
'pgsql': 'php8-pgsql',
|
||||
'php': 'php8',
|
||||
'snmp': 'php8-snmp',
|
||||
'soap': 'php8-soap',
|
||||
'sqlite': 'php8-sqlite',
|
||||
'suhosin': 'php8-suhosin',
|
||||
'xml': ['php8-xmlreader','php8-xmlwriter','php8-xmlrpc'],
|
||||
'zip': 'php8-zip',
|
||||
},
|
||||
'fpm': {
|
||||
'conf': '/etc/php-fpm.conf',
|
||||
'ini': '/etc/php.ini',
|
||||
'pools': '/etc/php-fpm.d',
|
||||
'conf': '/etc/php8/fpm/php-fpm.conf',
|
||||
'ini': '/etc/php8/conf.d/salt.ini',
|
||||
'pools': '/etc/php8/fpm/php-fpm.d',
|
||||
'service': 'php-fpm',
|
||||
'user': 'root',
|
||||
'group': 'root',
|
||||
'defaults': {
|
||||
'global': {
|
||||
'pid': '/var/run/php-fpm/php-fpm.pid',
|
||||
'error_log': '/var/log/php-fpm/error.log',
|
||||
},
|
||||
'include': '/etc/php-fpm.d/*.conf',
|
||||
'include': '/etc/php8/fpm/php-fpm.d/*.conf',
|
||||
},
|
||||
},
|
||||
'cli': {
|
||||
'ini': '/etc/php.ini',
|
||||
'ini': '/etc/php8/cli/php.ini',
|
||||
},
|
||||
},
|
||||
'Arch': {
|
||||
|
@ -35,7 +35,7 @@ control 'Php package' do
|
||||
end
|
||||
|
||||
def test_suse
|
||||
describe package('php7') do
|
||||
describe package('php8') do
|
||||
it { should be_installed }
|
||||
end
|
||||
end
|
||||
|
@ -199,46 +199,43 @@ values:
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
ini: /etc/php8/cli/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
conf: /etc/php8/fpm/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
|
||||
include: /etc/php8/fpm/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
ini: /etc/php8/conf.d/salt.ini
|
||||
pools: /etc/php8/fpm/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
|
||||
adodb: php8-dba
|
||||
apache2: apache2-mod_php8
|
||||
cli: php8
|
||||
curl: php8-curl
|
||||
fpm: php8-fpm
|
||||
gd: php8-gd
|
||||
imap: php8-imap
|
||||
intl: php8-intl
|
||||
json: php8-json
|
||||
ldap: php8-ldap
|
||||
mbstring: php8-mbstring
|
||||
mcrypt: php8-mcrypt
|
||||
mysql: php8-mysql
|
||||
oauth: php8-oauth
|
||||
pear: php8-pear
|
||||
pgsql: php8-pgsql
|
||||
php: php8
|
||||
snmp: php8-snmp
|
||||
soap: php8-soap
|
||||
sqlite: php8-sqlite
|
||||
suhosin: php8-suhosin
|
||||
xml:
|
||||
- php5-xmlreader
|
||||
- php5-xmlwriter
|
||||
- php5-xmlrpc
|
||||
zip: php5-zip
|
||||
- php8-xmlreader
|
||||
- php8-xmlwriter
|
||||
- php8-xmlrpc
|
||||
zip: php8-zip
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
|
@ -199,46 +199,43 @@ values:
|
||||
soap.wsdl_cache_ttl: 86400
|
||||
lookup:
|
||||
cli:
|
||||
ini: /etc/php.ini
|
||||
ini: /etc/php8/cli/php.ini
|
||||
fpm:
|
||||
conf: /etc/php-fpm.conf
|
||||
conf: /etc/php8/fpm/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
|
||||
include: /etc/php8/fpm/php-fpm.d/*.conf
|
||||
group: root
|
||||
ini: /etc/php.ini
|
||||
pools: /etc/php-fpm.d
|
||||
ini: /etc/php8/conf.d/salt.ini
|
||||
pools: /etc/php8/fpm/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
|
||||
adodb: php8-dba
|
||||
apache2: apache2-mod_php8
|
||||
cli: php8
|
||||
curl: php8-curl
|
||||
fpm: php8-fpm
|
||||
gd: php8-gd
|
||||
imap: php8-imap
|
||||
intl: php8-intl
|
||||
json: php8-json
|
||||
ldap: php8-ldap
|
||||
mbstring: php8-mbstring
|
||||
mcrypt: php8-mcrypt
|
||||
mysql: php8-mysql
|
||||
oauth: php8-oauth
|
||||
pear: php8-pear
|
||||
pgsql: php8-pgsql
|
||||
php: php8
|
||||
snmp: php8-snmp
|
||||
soap: php8-soap
|
||||
sqlite: php8-sqlite
|
||||
suhosin: php8-suhosin
|
||||
xml:
|
||||
- php5-xmlreader
|
||||
- php5-xmlwriter
|
||||
- php5-xmlrpc
|
||||
zip: php5-zip
|
||||
- php8-xmlreader
|
||||
- php8-xmlwriter
|
||||
- php8-xmlrpc
|
||||
zip: php8-zip
|
||||
xcache:
|
||||
ini:
|
||||
defaults:
|
||||
|
@ -4,4 +4,4 @@
|
||||
php:
|
||||
lookup:
|
||||
pkgs:
|
||||
php: php7
|
||||
php: php8
|
||||
|
Loading…
Reference in New Issue
Block a user