From a28e837895056ab95c992ca35fc779283489d04f Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Mon, 8 Jul 2024 13:52:00 +0200 Subject: [PATCH] Set primary_datacenter --- templates/nomad_ai4eosc_join.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/nomad_ai4eosc_join.yaml b/templates/nomad_ai4eosc_join.yaml index 64e29bc..8514cba 100644 --- a/templates/nomad_ai4eosc_join.yaml +++ b/templates/nomad_ai4eosc_join.yaml @@ -24,7 +24,7 @@ metadata: - nomad_namespaces - consul_cert_url - consul_server_join - - consul_primary_datacenter + - consul_join_datacenter topology_template: inputs: @@ -172,10 +172,10 @@ topology_template: type: string description: IP address of the Consul server to join default: '' - consul_primary_datacenter: + consul_join_datacenter: type: string description: Primary datacenter of the Consul cluster to join - default: '' + default: 'ifca-ai4eosc' node_templates: @@ -216,7 +216,7 @@ topology_template: nomad_input_namespaces: { get_input: nomad_namespaces } consul_cert_url: { get_input: consul_cert_url } consul_server_join: { get_input: consul_server_join } - consul_primary_datacenter: { get_input: consul_primary_datacenter } + consul_join_datacenter: { get_input: consul_join_datacenter } front: type: tosca.nodes.indigo.Compute @@ -258,7 +258,7 @@ topology_template: nomad_input_domain: { get_input: nomad_domain } consul_cert_url: { get_input: consul_cert_url } consul_server_join: { get_input: consul_server_join } - consul_primary_datacenter: { get_input: consul_primary_datacenter } + consul_join_datacenter: { get_input: consul_join_datacenter } wn: type: tosca.nodes.indigo.Compute @@ -300,7 +300,7 @@ topology_template: nomad_input_domain: { get_input: nomad_domain } consul_cert_url: { get_input: consul_cert_url } consul_server_join: { get_input: consul_server_join } - consul_primary_datacenter: { get_input: consul_primary_datacenter } + consul_join_datacenter: { get_input: consul_join_datacenter } wn_pub: type: tosca.nodes.indigo.Compute @@ -350,7 +350,7 @@ topology_template: nomad_input_domain: { get_input: nomad_domain } consul_cert_url: { get_input: consul_cert_url } consul_server_join: { get_input: consul_server_join } - consul_primary_datacenter: { get_input: consul_primary_datacenter } + consul_join_datacenter: { get_input: consul_join_datacenter } wn_gpu: type: tosca.nodes.indigo.Compute