mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Merge pull request #4455 from Icinga/bugfix/vagrant-ipl
Vagrant: icingaweb2_dev: install icinga-php-{library,thirdparty}
This commit is contained in:
commit
22bd9e501d
@ -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-*'
|
||||
}
|
||||
}
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user