Merge pull request #334508 from pbsds/fix-taskserver-1723599512
nixos/taskserver: fix test eval
This commit is contained in:
commit
db16f389ab
@ -70,7 +70,7 @@ in {
|
|||||||
anotherOrganisation.users = [ "bob" ];
|
anotherOrganisation.users = [ "bob" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
specialisation.manual-config.configuration = {
|
specialisation.manual_config.configuration = {
|
||||||
services.taskserver.pki.manual = {
|
services.taskserver.pki.manual = {
|
||||||
ca.cert = snakeOil.cacert;
|
ca.cert = snakeOil.cacert;
|
||||||
server.cert = snakeOil.cert;
|
server.cert = snakeOil.cert;
|
||||||
@ -95,7 +95,7 @@ in {
|
|||||||
cfg = nodes.server.config.services.taskserver;
|
cfg = nodes.server.config.services.taskserver;
|
||||||
portStr = toString cfg.listenPort;
|
portStr = toString cfg.listenPort;
|
||||||
specialisations = "${nodes.server.system.build.toplevel}/specialisation";
|
specialisations = "${nodes.server.system.build.toplevel}/specialisation";
|
||||||
newServerSystem = "${specialisations}/manual-config";
|
newServerSystem = "${specialisations}/manual_config";
|
||||||
switchToNewServer = "${newServerSystem}/bin/switch-to-configuration test";
|
switchToNewServer = "${newServerSystem}/bin/switch-to-configuration test";
|
||||||
in ''
|
in ''
|
||||||
from shlex import quote
|
from shlex import quote
|
||||||
|
Loading…
Reference in New Issue
Block a user