add db_port parameter to match the documentation

refs https://github.com/Icinga/puppet-icinga2/pull/2

Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
melanie 2014-08-22 13:41:14 +11:00 committed by Nick Chappell
parent b7c360ef21
commit 599e7dea30
2 changed files with 3 additions and 1 deletions

View file

@ -47,6 +47,7 @@ class icinga2::params {
$db_user = 'icinga2'
$db_password = 'password'
$db_host = 'localhost'
$db_port = '5432'
#Whether to install the plugin packages when the icinga2::server class is applied:
$server_install_nagios_plugins = 'true'

View file

@ -17,7 +17,8 @@ class icinga2::server (
$db_name = $icinga2::params::db_name,
$db_user = $icinga2::params::db_user,
$db_password = $icinga2::params::db_password,
$db_host = $icinga2::params::db_host,
$db_host = $icinga2::params::db_host,
$db_port = $icinga2::params::db_port,
$package_provider = $icinga2::params::package_provider,
$icinga2_server_package = $icinga2::params::icinga2_server_package,
#$server_db_schema_path = $icinga2::params::server_db_schema_path