소스 검색

icinga2: Apply the ssl_host_cert fix for > Debian 10

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 달 전
부모
커밋
7d4237732d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 		}