Update.. REQUIREMENTS (yay)

This commit is contained in:
Johannes Meyer 2022-03-24 15:51:25 +01:00
parent 664947da5f
commit 7e2bbc4d8a
3 changed files with 5 additions and 6 deletions

View file

@ -11,8 +11,8 @@
* The following PHP modules must be installed: cURL, dom, json, libxml, pdo
* [Icinga DB](https://github.com/Icinga/icingadb)
* [Icinga Web 2](https://github.com/Icinga/icingaweb2) (>= 2.9)
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.8)
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.10)
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.9)
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.11)
* For exports to PDF the [pdfexport](https://github.com/Icinga/icingaweb2-module-pdfexport) (>= 0.10)
module is required (Optional)

View file

@ -4,7 +4,6 @@
namespace Icinga\Module\Icingadb\Setup;
use Icinga\Application\Platform;
use Icinga\Module\Setup\Forms\SummaryPage;
use Icinga\Module\Setup\Requirement\PhpModuleRequirement;
use Icinga\Module\Setup\Requirement\PhpVersionRequirement;
@ -57,13 +56,13 @@ class IcingaDbWizard extends Wizard implements SetupWizard
]));
$set->add(new WebLibraryRequirement([
'condition' => ['icinga-php-library', '>=', '0.8.0'],
'condition' => ['icinga-php-library', '>=', '0.9.0'],
'alias' => 'Icinga PHP library',
'description' => t('The Icinga PHP library (IPL) is required for Icinga DB Web')
]));
$set->add(new WebLibraryRequirement([
'condition' => ['icinga-php-thirdparty', '>=', '0.10.0'],
'condition' => ['icinga-php-thirdparty', '>=', '0.11.0'],
'alias' => 'Icinga PHP Thirdparty',
'description' => t('The Icinga PHP Thirdparty library is required for Icinga DB Web')
]));

View file

@ -1,6 +1,6 @@
Module: icingadb
Version: 1.0.0-rc2
Requires:
Libraries: icinga-php-library (>=0.8.0), icinga-php-thirdparty (>=0.10.0)
Libraries: icinga-php-library (>=0.9.0), icinga-php-thirdparty (>=0.11.0)
Description: Icinga DB Web
UI for Icinga DB Provides a graphical interface to your Icinga monitoring