diff --git a/manifests/params.pp b/manifests/params.pp index 18b0c1e..4db2890 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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'