summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-09-06 11:45:58 +0200
committervarac <varacanero@zeromail.org>2016-09-06 13:19:13 +0200
commit67591d5f91b33bd8196137c14ea6ae4a01321aea (patch)
treef4eebdb41f018fc59bc3cc3d954b4a7e0e56af2b
parent90e4bca777f6edfbde29b590313cf938f75c53a7 (diff)
[feat] Add check_mk config values, dont set them
When setting values like ignored_services = [...] this will override other `ignored_services` that might get parsed before. Instead, we use `+=` so multiple files can add sth to this config value.
-rw-r--r--puppet/modules/site_check_mk/files/ignored_services.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/puppet/modules/site_check_mk/files/ignored_services.mk b/puppet/modules/site_check_mk/files/ignored_services.mk
index 35dc4433..8a6705ac 100644
--- a/puppet/modules/site_check_mk/files/ignored_services.mk
+++ b/puppet/modules/site_check_mk/files/ignored_services.mk
@@ -1,3 +1,5 @@
-ignored_services = [
+# ignore NTP Time because this check was
+# very flaky in the past (see https://leap.se/code/issues/6407)
+ignored_services += [
( ALL_HOSTS, [ "NTP Time" ] )
]