nixos/telegraf: fix test

This commit is contained in:
Jörg Thalheim 2020-11-18 21:30:29 +01:00
parent 0f84e08fcd
commit 58bf9ed18b
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -6,9 +6,9 @@ import ./make-test-python.nix ({ pkgs, ...} : {
machine = { ... }: {
services.telegraf.enable = true;
services.telegraf.environmentFiles = [pkgs.writeText "secrets" ''
services.telegraf.environmentFiles = [(pkgs.writeText "secrets" ''
SECRET=example
''];
'')];
services.telegraf.extraConfig = {
agent.interval = "1s";
agent.flush_interval = "1s";