3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
Andreas Rammhold 51c3082119 nixos/prometheus: require one alertmanager configuration parameter
This commit adds an assertion that checks that either `configFile` or
`configuration` is configured for alertmanager. The alertmanager config
can not be an empty attributeset. The check executed with `amtool` fails
before the service even has the chance to start. We should probably not
allow a broken alertmanager configuration anyway.

This also introduces a test for alertmanager configuration that piggy
backs on the existing prometheus tests.
2018-11-23 19:45:17 +01:00
..
doc Merge pull request #50641 from blaxill/firewallMerge 2018-11-23 11:42:16 +00:00
lib Add pkgs.nixosTest 2018-11-13 10:43:05 +01:00
maintainers create-amis.sh: Change directory for AMIs 2018-07-24 21:19:14 +02:00
modules nixos/prometheus: require one alertmanager configuration parameter 2018-11-23 19:45:17 +01:00
tests nixos/prometheus: require one alertmanager configuration parameter 2018-11-23 19:45:17 +01:00
COPYING
default.nix
README
release-combined.nix nixos/release-combined: remove keymap tests from tested job 2018-06-06 21:02:55 +02:00
release-small.nix
release.nix tests: split into a separate all-tests.nix file 2018-11-11 23:11:46 +09:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.