From 35b9c66a7d7ee678409afa2049785a842147cc38 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Wed, 7 Mar 2018 18:08:11 -0500 Subject: [PATCH 1/2] vault: 0.9.4 -> 0.9.5 --- pkgs/tools/security/vault/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/vault/default.nix b/pkgs/tools/security/vault/default.nix index 8118e83067516..02c0b27a5648a 100644 --- a/pkgs/tools/security/vault/default.nix +++ b/pkgs/tools/security/vault/default.nix @@ -9,13 +9,13 @@ let }; in stdenv.mkDerivation rec { name = "vault-${version}"; - version = "0.9.4"; + version = "0.9.5"; src = fetchFromGitHub { owner = "hashicorp"; repo = "vault"; rev = "v${version}"; - sha256 = "1a12pfzln6qdff08j9l1807anrsgn3ggnaqda020p6y9zg1p8xzd"; + sha256 = "1ddki3bnp6yrajc0cxxjkbdlfp0xqx407nxvvv611lsnlbr2sz5g"; }; nativeBuildInputs = [ go gox removeReferencesTo ]; From cb59beca45916819d01bd7385a3db1e7aa973109 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Wed, 7 Mar 2018 18:08:24 -0500 Subject: [PATCH 2/2] vault: Fix test --- nixos/tests/vault.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/vault.nix b/nixos/tests/vault.nix index 2c08d06f286bd..515d5c8bac251 100644 --- a/nixos/tests/vault.nix +++ b/nixos/tests/vault.nix @@ -17,7 +17,7 @@ import ./make-test.nix ({ pkgs, ... }: $machine->waitForUnit('multi-user.target'); $machine->waitForUnit('vault.service'); $machine->waitForOpenPort(8200); - $machine->succeed('vault init'); - $machine->succeed('vault status | grep "Sealed: true"'); + $machine->succeed('vault operator init'); + $machine->succeed('vault status | grep Sealed | grep true'); ''; })