From a184ff4665f54299fdc4ed25b1be4ae47439ee92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 15 Apr 2020 04:42:17 +0200
Subject: [PATCH] software/jstestnode: use new slap-connection section

slap_connection is deprecated
---
 software/jstestnode/buildout.hash.cfg |  2 +-
 software/jstestnode/instance.cfg.in   | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/software/jstestnode/buildout.hash.cfg b/software/jstestnode/buildout.hash.cfg
index 2bc9cd7f0..e9a628396 100644
--- a/software/jstestnode/buildout.hash.cfg
+++ b/software/jstestnode/buildout.hash.cfg
@@ -15,7 +15,7 @@
 
 [instance]
 filename = instance.cfg.in
-md5sum = e6203cba0084289edec2176b185d3427
+md5sum = 72f6316ee44499568601d3353ff262d1
 
 [template-nginx-service]
 filename = template-nginx-service.sh.in
diff --git a/software/jstestnode/instance.cfg.in b/software/jstestnode/instance.cfg.in
index ff11202e5..f9cd1bbac 100644
--- a/software/jstestnode/instance.cfg.in
+++ b/software/jstestnode/instance.cfg.in
@@ -90,9 +90,9 @@ ssl_crt = $${directory:ssl}/nginx.crt
 #################################
 [instance-parameter]
 recipe = slapos.cookbook:slapconfiguration
-computer = $${slap_connection:computer_id}
-partition = $${slap_connection:partition_id}
-url = $${slap_connection:server_url}
-key = $${slap_connection:key_file}
-cert = $${slap_connection:cert_file}
+computer = $${slap-connection:computer-id}
+partition = $${slap-connection:partition-id}
+url = $${slap-connection:server-url}
+key = $${slap-connection:key-file}
+cert = $${slap-connection:cert-file}
 configuration._ = {}
\ No newline at end of file
-- 
2.30.9