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
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
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.