adding new parameter for checkplugin_libdir to keep backwards compatibility

Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
Steven Bambling 2014-10-03 06:38:14 -04:00 committed by Nick Chappell
parent cf99137e21
commit 075ca2a4bf

View file

@ -298,6 +298,7 @@ class icinga2::params {
'CentOS': {
$nrpe_config_basedir = '/etc/nagios'
$nrpe_plugin_libdir = '/usr/lib64/nagios/plugins'
$checkplugin_libdir = '/usr/lib/nagios/plugins'
$nrpe_pid_file_path = '/var/run/nrpe/nrpe.pid'
$nrpe_user = 'nrpe'
$nrpe_group = 'nrpe'
@ -306,6 +307,7 @@ class icinga2::params {
'Ubuntu': {
$nrpe_config_basedir = '/etc/nagios'
$nrpe_plugin_libdir = '/usr/lib/nagios/plugins'
$checkplugin_libdir = '/usr/lib/nagios/plugins'
$nrpe_pid_file_path = '/var/run/nagios/nrpe.pid'
$nrpe_user = 'nagios'
$nrpe_group = 'nagios'
@ -314,6 +316,7 @@ class icinga2::params {
'Debian': {
$nrpe_config_basedir = '/etc/nagios'
$nrpe_plugin_libdir = '/usr/lib/nagios/plugins'
$checkplugin_libdir = '/usr/lib/nagios/plugins'
$nrpe_pid_file_path = '/var/run/nagios/nrpe.pid'
$nrpe_user = 'nagios'
$nrpe_group = 'nagios'