move parameter

This commit is contained in:
Arne Teuke
2023-07-23 15:43:38 +02:00
parent 595ab29886
commit 82056cee25

View File

@@ -651,6 +651,8 @@
# particular item.
# @param [string] ng_user_arg1 the user argument for $user1$
# @param [string] ng_user_arg2 the user argument for $user2$
# @param [array] reqpackages_server the packages for the server
# @param [array] reqpackages_client the packages for the clients
###############################################################################
class cd_nagios::params (
@@ -906,21 +908,15 @@ $ng_loadctl_options = 'jobs_max=100;backoff_limit=10;rampup_change=5',
# single nagios checks
$ng_enable_swap_check = true,
) {
# installation section
$reqpackages_server = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ => ['nagios','nagios-devel']
}
$reqpackages_client = $::operatingsystem ? {
/(?i-mx:centos|fedora|redhat)/ => ['net-snmp-utils',
# installation
$reqpackages_server = ['nagios','nagios-devel'],
$reqpackages_client = ['net-snmp-utils',
'nagios-plugins',
'nagios-plugins-all',
'nagios-plugins-nrpe',
'nagios-common']
}
'nagios-common'],
) {
# service
$ng_service = 'nagios'