mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
Don't declare the variable $icinga_packages because it's used only once
This commit is contained in:
parent
8806583289
commit
261a5dd43d
@ -20,11 +20,13 @@ exec{ 'create-pgsql-icinga-db':
|
||||
require => Service['postgresql']
|
||||
}
|
||||
|
||||
$icinga_packages = [ 'gcc', 'glibc', 'glibc-common', 'gd', 'gd-devel',
|
||||
package { [
|
||||
'gcc', 'glibc', 'glibc-common', 'gd', 'gd-devel',
|
||||
'libpng', 'libpng-devel', 'net-snmp', 'net-snmp-devel', 'net-snmp-utils',
|
||||
'libdbi', 'libdbi-devel', 'libdbi-drivers',
|
||||
'libdbi-dbd-mysql', 'libdbi-dbd-pgsql' ]
|
||||
package { $icinga_packages: ensure => installed }
|
||||
'libdbi-dbd-mysql', 'libdbi-dbd-pgsql' ]:
|
||||
ensure => installed
|
||||
}
|
||||
|
||||
php::extension { ['php-mysql', 'php-pgsql', 'php-ldap']:
|
||||
require => [ Class['mysql'], Class['pgsql'], Class['openldap'] ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user