dont depend on nagios-plugins-extra if ubuntu 18
This commit is contained in:
parent
49bcf4b5c0
commit
b63d0889b4
1 changed files with 3 additions and 2 deletions
|
@ -529,8 +529,9 @@ class nrpe {
|
|||
class {'apt::backports': }
|
||||
}
|
||||
package {'nagios-plugins-contrib': ensure => latest}
|
||||
package {'nagios-plugins-extra': ensure => latest}
|
||||
|
||||
if ($::operatingsystem == 'Ubuntu' and $::operatingsystemrelease < '18.04') {
|
||||
package {'nagios-plugins-extra': ensure => latest}
|
||||
}
|
||||
sunet::nagios::nrpe_command {'check_memory':
|
||||
command_line => '/usr/lib/nagios/plugins/check_memory -w 10% -c 5%'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue