ovh.icinga2: update to debian bullseye and php 8.0
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2022-03-13 14:07:55 +01:00
parent c71d827691
commit eab9d6f97c
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 10 deletions

View file

@ -1,7 +1,7 @@
location ~ \.php$ { location ~ \.php$ {
include fastcgi.conf; include fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.4-fpm.sock; fastcgi_pass unix:/run/php/php8.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php; fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2; fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
} }

View file

@ -10,7 +10,7 @@ nodes['ovh.icinga2'] = {
'zfs', 'zfs',
}, },
'groups': { 'groups': {
'debian-buster', 'debian-bullseye',
'webserver', 'webserver',
}, },
'metadata': { 'metadata': {
@ -29,11 +29,6 @@ nodes['ovh.icinga2'] = {
}, },
}, },
}, },
'apt': {
'packages': {
'php-imagick': {},
},
},
'bird': { 'bird': {
'static_routes': { 'static_routes': {
'172.19.136.3/32', '172.19.136.3/32',
@ -41,13 +36,13 @@ nodes['ovh.icinga2'] = {
}, },
'icinga2': { 'icinga2': {
'api_users': { 'api_users': {
# Used with <https://git.kunsmann.eu/kunsi/icinga2beamer>
'dashboard': { 'dashboard': {
'password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'), 'password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
'permissions': { 'permissions': {
'objects/query/Service' 'objects/query/Service'
}, },
}, },
# Used with <https://git.franzi.business/kunsi/icinga2eamer>
'icinga2beamer': { 'icinga2beamer': {
'password': vault.decrypt('encrypt$gAAAAABf3wM9YS5ZpRdhp3xyIFX21_MK0omzqHqykWbWdkZWp2xyJ6awaUSXODnZQ5j-rws6n0yrpaeMdXoj1irb2FrgxMDTdfCh88hIsqcKGOObzwGaRg6Ze0tuiMrzIfOO3tRnc9Kd'), 'password': vault.decrypt('encrypt$gAAAAABf3wM9YS5ZpRdhp3xyIFX21_MK0omzqHqykWbWdkZWp2xyJ6awaUSXODnZQ5j-rws6n0yrpaeMdXoj1irb2FrgxMDTdfCh88hIsqcKGOObzwGaRg6Ze0tuiMrzIfOO3tRnc9Kd'),
'permissions': { 'permissions': {
@ -104,12 +99,12 @@ nodes['ovh.icinga2'] = {
}, },
}, },
'php': { 'php': {
'version': '7.4', 'version': '8.0',
'packages': { 'packages': {
'curl', 'curl',
'gd', 'gd',
'intl', 'intl',
'json', 'imagick',
'ldap', 'ldap',
'mysql', 'mysql',
'opcache', 'opcache',