From ed501248df6f87dff007d13b1466b23cfe09522a Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Wed, 3 Apr 2024 14:26:48 +0900 Subject: [PATCH] Modify the variable name. --- cookbooks/consul/templates/etc/consul.d/server.hcl.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbooks/consul/templates/etc/consul.d/server.hcl.erb b/cookbooks/consul/templates/etc/consul.d/server.hcl.erb index 0713540..3af7583 100644 --- a/cookbooks/consul/templates/etc/consul.d/server.hcl.erb +++ b/cookbooks/consul/templates/etc/consul.d/server.hcl.erb @@ -11,9 +11,9 @@ acl { enable_token_persistence = true tokens { - master = "<%= @manager_hosts %>" - agent = "<%= @manager_hosts %>" - default = "<%= @manager_hosts %>" + master = "<%= @server_token %>" + agent = "<%= @server_token %>" + default = "<%= @server_token %>" } }