Browse Source

icinga2: Apply the ssl_host_cert fix for > Debian 10

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 months ago
parent
commit
7d4237732d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      icinga2/commands.d/ssl_cert.conf

+ 1 - 1
icinga2/commands.d/ssl_cert.conf

@@ -13,7 +13,7 @@ object CheckCommand "ssl_host_cert" {
 		"-f" = "$ssl_cert_file$"
 		"-w" = "$ssl_cert_warn$"
 		"-c" = "$ssl_cert_crit$"
-{%- if grains.oscodename == 'bullseye' %}
+{%- if grains.osrelease|int > 10 %}
 		"--ignore-sct" = {
 			set_if = true
 		}