voxpupuli / puppet-prometheus

Puppet module for prometheus
https://forge.puppet.com/puppet/prometheus
Apache License 2.0
59 stars 237 forks source link

fix syntax of altermanager::receivers #723

Closed TheMeier closed 1 month ago

TheMeier commented 1 month ago

fixes #539

TheMeier commented 1 month ago

Existing test is sufficient, with wrong config the acceptance test fails with:

  Error: Execution of '/usr/local/bin/amtool check-config --alertmanager.url='' /etc/alertmanager/alertmanager.yaml20240511-3098-1nt8gcc' returned 1: Checking '/etc/alertmanager/alertmanager.yaml20240511-3098-1nt8gcc'  FAILED: missing name in receiver
TheMeier commented 1 month ago

Archlinux tests are addressed in https://github.com/voxpupuli/puppet-prometheus/pull/719