mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-05-03 14:20:11 +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',
|
gpgkey => 'https://packages.icinga.com/icinga.key',
|
||||||
descr => "Icinga Repository - ${::architecture}"
|
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
|
# TODO(el): icinga-gui is not a icingaweb2_dev package
|
||||||
package { [
|
package { [
|
||||||
|
'icinga-php-library',
|
||||||
|
'icinga-php-thirdparty',
|
||||||
'rh-php73-php-cli',
|
'rh-php73-php-cli',
|
||||||
'rh-php73-php-gd',
|
'rh-php73-php-gd',
|
||||||
'rh-php73-php-intl',
|
'rh-php73-php-intl',
|
||||||
@ -47,7 +49,7 @@ class icingaweb2_dev (
|
|||||||
-> exec { 'enable-monitoring-module':
|
-> exec { 'enable-monitoring-module':
|
||||||
command => 'icingacli module enable monitoring',
|
command => 'icingacli module enable monitoring',
|
||||||
user => 'apache',
|
user => 'apache',
|
||||||
require => Class[[ 'icingacli', 'apache' ]],
|
require => [ Class[[ 'icingacli', 'apache' ]], Package[[ 'icinga-php-library', 'icinga-php-thirdparty' ]] ],
|
||||||
}
|
}
|
||||||
-> exec { 'enable-test-module':
|
-> exec { 'enable-test-module':
|
||||||
command => 'icingacli module enable test',
|
command => 'icingacli module enable test',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user