]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - dev-monitoring: add bogus host template because of PDB-170 (Puppetlabs...
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 30 Mar 2017 14:15:24 +0000 (16:15 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 30 Mar 2017 14:15:33 +0000 (16:15 +0200)
common.yaml
customer/pixelpark/dev-monitoring.pixelpark.com.yaml

index b747b063b792bd8f3ea1a024a5b86cd065ac7196..30813c176bfb9d8fda48a1ebb1c97899f9455e71 100644 (file)
@@ -1,6 +1,11 @@
 ---
 site::role: base_for_old_systems
 
+# workaround f
+site::profile::icinga2::client::host_template:
+  - 'generic-host'
+  - 'bogus-template'
+
 sudo::purge: false
 
 accounts::users:
index f3e21be65b5308d568d620095cc9cdba732304e8..23c95dfa5446bc0510448bad7be5dea3dd6f9b1d 100644 (file)
@@ -55,6 +55,16 @@ site::profile::icinga2::object::host:
     template: true
 #    vars:
 #      'host.vars.notification.mail.groups':
+#        - 'icingaadmins'
+    max_check_attempts: '3'
+    check_interval: '1m'
+    retry_interval: '30s'
+    check_command: 'hostalive'
+  'bogus-template':
+    target: '/etc/icinga2/conf.d/host-templates.conf'
+    template: true
+#    vars:
+#      'host.vars.notification.mail.groups':
 #        - 'icingaadmins'
     max_check_attempts: '3'
     check_interval: '1m'