nixos/telegraf: fix test
This commit is contained in:
parent
0f84e08fcd
commit
58bf9ed18b
1 changed files with 2 additions and 2 deletions
|
@ -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