Merge pull request #4455 from Icinga/bugfix/vagrant-ipl

Vagrant: icingaweb2_dev: install icinga-php-{library,thirdparty}
This commit is contained in:
Johannes Meyer 2021-07-16 08:07:52 +02:00 committed by GitHub
commit 22bd9e501d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -14,4 +14,13 @@ class icinga_packages {
gpgkey => 'https://packages.icinga.com/icinga.key',
descr => "Icinga Repository - ${::architecture}"
}
yumrepo { 'icinga_release_packages':
baseurl => "https://packages.icinga.com/epel/${::operatingsystemmajrelease}/release/",
enabled => '1',
gpgcheck => '1',
gpgkey => 'https://packages.icinga.com/icinga.key',
descr => "Icinga Repository - ${::architecture} (release)",
includepkgs => 'icinga-php-*'
}
}

View File

@ -22,6 +22,8 @@ class icingaweb2_dev (
# TODO(el): icinga-gui is not a icingaweb2_dev package
package { [
'icinga-php-library',
'icinga-php-thirdparty',
'rh-php73-php-cli',
'rh-php73-php-gd',
'rh-php73-php-intl',
@ -47,7 +49,7 @@ class icingaweb2_dev (
-> exec { 'enable-monitoring-module':
command => 'icingacli module enable monitoring',
user => 'apache',
require => Class[[ 'icingacli', 'apache' ]],
require => [ Class[[ 'icingacli', 'apache' ]], Package[[ 'icinga-php-library', 'icinga-php-thirdparty' ]] ],
}
-> exec { 'enable-test-module':
command => 'icingacli module enable test',