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