Remove the dummy check if necessary
The dummy check is configured when LMA collector plugin is not installed, this dummy check has been added to allow LMA infrastructure alerting plugin to be tested alone by the CI. Change-Id: Ifaec285e2913f8a382e26c363acc15da0aee0eb0 Closes-bug: #1638546
This commit is contained in:
parent
0146ccc3fe
commit
2720efe64a
|
@ -106,5 +106,11 @@ class lma_infra_alerting::nagios::hosts (
|
|||
'hostgroup_name' => 'primary-infrastructure_alerting'
|
||||
}
|
||||
}
|
||||
} else {
|
||||
include nagios::server_service
|
||||
file { "${nagios::params::config_dir}/${lma_infra_alerting::params::nagios_config_filename_prefix}service_dummy-check-for-ci.cfg":
|
||||
ensure => absent,
|
||||
notify => Class['nagios::server_service'],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue