Skip to content

Commit 59c0bc0

Browse files
committed
nix: use packages python-novaclient and python-openstackclient in tests
Signed-off-by: Paul Kroeher <paul.kroeher@cyberus-technology.de> On-behalf-of: SAP paul.kroeher@sap.com
1 parent 3fee9f7 commit 59c0bc0

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

modules/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
storageModule = import ./storage/cinder-storage-node.nix { inherit (openstackPkgs) cinder; };
1818

19-
testModules = import ./testing { };
19+
testModules = import ./testing { inherit (openstackPkgs) python-openstackclient; };
2020
}

modules/testing/default.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{ }:
1+
{
2+
python-openstackclient,
3+
}:
24
let
35
adminEnv = {
46
OS_USERNAME = "admin";
@@ -32,7 +34,7 @@ let
3234
};
3335

3436
environment.systemPackages = [
35-
pkgs.openstackclient
37+
python-openstackclient
3638
pkgs.openiscsi
3739
pkgs.sshpass
3840
];
@@ -226,7 +228,7 @@ in
226228
systemd.services.openstack-create-vm = {
227229
description = "OpenStack";
228230
path = [
229-
pkgs.openstackclient
231+
python-openstackclient
230232
pkgs.openssh
231233
];
232234
environment = adminEnv;

0 commit comments

Comments
 (0)