Added a parameter for picking whether to install the Nagios plugins packages on nodes with the icinga2::server class applied.

This commit is contained in:
Nick Chappell 2014-07-20 17:04:25 -07:00
parent 8e873c51d4
commit 507fc377ff
2 changed files with 4 additions and 0 deletions

View file

@ -48,6 +48,9 @@ class icinga2::params {
$db_password = 'password'
$db_host = 'localhost'
#Whether to install the plugin packages when the icinga2::server class is applied:
$server_install_nagios_plugins = 'true'
##############################
# Icinga 2 server package parameters

View file

@ -21,6 +21,7 @@ class icinga2::server (
$package_provider = $icinga2::params::package_provider,
$icinga2_server_package = $icinga2::params::icinga2_server_package,
#$server_db_schema_path = $icinga2::params::server_db_schema_path
$server_install_nagios_plugins = $icinga2::params::server_install_nagios_plugins,
) inherits icinga2::params {
#Pick set the right path where we can find the DB schema based on the OS...