Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
@@ -2,7 +2,7 @@
# Old Icinga2 doesn't ship with check command for ssl_cert check
#
-{%- if grains['oscodename'] == 'jessie' %}
+{%- if grains['oscodename'] == 'jessie' or grains['oscodename'] == 'stretch' %}
object CheckCommand "ssl_cert" {
import "plugin-check-command"
command = [ PluginDir + "/check_ssl_cert" ]
@@ -254,13 +254,13 @@ Cleanup /etc/icinga2/ffho-conf.d/net/wbbl/:
- watch_in:
- service: icinga2
-/etc/icinga2/check-commands.conf:
+# Client should not notify by themselves
+/etc/icinga2/features-enable/notification.conf:
file.absent:
-{% endif %}
-
+{% endif %}
################################################################################