From 216c70645774f143682fda126428db8bc599c65c Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 26 Sep 2023 14:24:18 +0200 Subject: [PATCH 1/2] Fix parameters --- templates/reva/docker-compose.yml.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/reva/docker-compose.yml.erb b/templates/reva/docker-compose.yml.erb index d6f4068..303a5dc 100644 --- a/templates/reva/docker-compose.yml.erb +++ b/templates/reva/docker-compose.yml.erb @@ -11,10 +11,12 @@ services: - 89.46.20.75 - 89.46.21.29 - 89.32.32.32 + environment: + - CGO_ENABLED=1 volumes: - /opt/reva/revad.toml:/etc/revad/revad.toml - /opt/reva/data:/var/tmp/reva - - /opt/reva/ocm-providers.json:/etc/revad/ocm-providers.json - - /opt/reva/test/drive.test.sunet.se.crt:/etc/revad/tls/drive.test.sunet.se.crt - - /opt/reva/test/drive.test.sunet.se.key:/etc/revad/tls/drive.test.sunet.se.key + - /opt/reva/metrics.json:/etc/revad/metrics.json + - /opt/reva/<%= @environment %>/<%= @domain %>.crt:/etc/revad/tls/<%= @domain %>.crt + - /opt/reva/<%= @environment %>/<%= @domain %>.key:/etc/revad/tls/<%= @domain %>.key restart: always From 39137a4dfc295c345851ed89518563a63b659201 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 26 Sep 2023 14:26:07 +0200 Subject: [PATCH 2/2] Typo --- manifests/reva.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/reva.pp b/manifests/reva.pp index cafa58a..a68390b 100644 --- a/manifests/reva.pp +++ b/manifests/reva.pp @@ -1,7 +1,7 @@ #Class for SUNET-Drive-Lookup-Server class sunetdrive::reva ( String $domain = 'drive.test.sunet.se', - String $customer = 'sunet' + String $customer = 'sunet', String $reva_domain = "${customer}-reva.${domain}", String $reva_version = 'v1.26.0', ) {