Skip to content

Commit

Permalink
nixos/telegraf: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 18, 2020
1 parent 0f84e08 commit 58bf9ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/tests/telegraf.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 58bf9ed

Please sign in to comment.