forked from mirrors/nixpkgs
nixos/telegraf: fix test
This commit is contained in:
parent
0f84e08fcd
commit
58bf9ed18b
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue