Perform load checks on hosts machines only
This commit is contained in:
parent
a7e67523a1
commit
6070272f1d
2 changed files with 1 additions and 5 deletions
|
@ -98,9 +98,8 @@ apply Service "load" {
|
||||||
import "generic-service"
|
import "generic-service"
|
||||||
|
|
||||||
check_command = "load"
|
check_command = "load"
|
||||||
command_endpoint = host.name
|
|
||||||
|
|
||||||
assign where host.name
|
assign where !host.vars.is_container
|
||||||
}
|
}
|
||||||
|
|
||||||
apply Service "pgsql " for (name => config in host.vars.pgsql_dbs) {
|
apply Service "pgsql " for (name => config in host.vars.pgsql_dbs) {
|
||||||
|
|
|
@ -14,9 +14,6 @@ object Host "infra02sat.infra.cacert.org" {
|
||||||
vars.is_container = true
|
vars.is_container = true
|
||||||
vars.debian_relase = 12
|
vars.debian_relase = 12
|
||||||
|
|
||||||
vars.ca_certs["Icinga master"] = {
|
|
||||||
ssl_cert_file = "/var/lib/icinga2/certs/ca.crt"
|
|
||||||
}
|
|
||||||
vars.ca_certs["Puppet"] = {
|
vars.ca_certs["Puppet"] = {
|
||||||
ssl_cert_file = "/var/lib/puppet/ssl/certs/ca.pem"
|
ssl_cert_file = "/var/lib/puppet/ssl/certs/ca.pem"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue