aboutsummaryrefslogtreecommitdiff
path: root/nixos/tests/slurm.nix
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@gmail.com>2018-10-25 20:34:17 +0200
committerMarkus Kowalewski <markus.kowalewski@gmail.com>2018-10-30 19:50:52 +0100
commitd2799d1835fdfc68e2b621beff1fa951f055ae39 (patch)
tree25b85978cef531e9538bdadc7c53f0a15acb294d /nixos/tests/slurm.nix
parentf51f7534163ec0159c195657dddd5c10443c54a4 (diff)
nixos/slurm: node/partitionName option -> list
Make the node and partitionname options lists. There can be more than paratition or set of nodes. Add changes to release notes
Diffstat (limited to 'nixos/tests/slurm.nix')
-rw-r--r--nixos/tests/slurm.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix
index 54ea1ee7894..6937a5f0991 100644
--- a/nixos/tests/slurm.nix
+++ b/nixos/tests/slurm.nix
@@ -4,11 +4,8 @@ let
slurmconfig = {
controlMachine = "control";
- nodeName = ''
- control
- NodeName=node[1-3] CPUs=1 State=UNKNOWN
- '';
- partitionName = "debug Nodes=node[1-3] Default=YES MaxTime=INFINITE State=UP";
+ nodeName = [ "node[1-3] CPUs=1 State=UNKNOWN" ];
+ partitionName = [ "debug Nodes=node[1-3] Default=YES MaxTime=INFINITE State=UP" ];
extraConfig = ''
AccountingStorageHost=dbd
AccountingStorageType=accounting_storage/slurmdbd