sous-chefs / consul

Development repository for the consul cookbook

Home Page:https://supermarket.chef.io/cookbooks/consul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consul 1.9.x - ui/ui_dir deprecated

askmike1 opened this issue Β· comments

πŸ—£οΈ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

πŸ‘» Brief Description

With 1.9.x, ui & ui_dir are deprecated in favor of ui_config.{enabled, dir, content_path}, cookbook needs to support this functionality

πŸ₯ž Cookbook version

4.5.2

πŸ‘©β€πŸ³ Chef-Infra Version

16.13.16

🎩 Platform details

RHEL7

Steps To Reproduce

Steps to reproduce the behavior:

  1. Specify default['consul']['config']['ui_config.enabled']

πŸš“ Expected behavior

It should set the new variale names

βž• Additional context

Add any other context about the problem here. e.g. related issues or existing pull requests.

There are a number of other deprecated fields as well that this cookbook doesn't seem to support the more modern replacements, including:
acl_datacenter - This field is deprecated in Consul 1.4.0. See the primary_datacenter field instead.
acl_default_policy - Deprecated in Consul 1.4.0. See the acl.default_policy field instead
acl_down_policy - Deprecated in Consul 1.4.0. See the acl.down_policy field instead
acl_agent_master_token - Deprecated in Consul 1.4.0. See the acl.tokens.agent_master field instead
acl_agent_token - Deprecated in Consul 1.4.0. See the acl.tokens.agent field instead
acl_master_token - Deprecated in Consul 1.4.0. See the acl.tokens.master field instead
acl_replication_token - Deprecated in Consul 1.4.0. See the acl.tokens.replication field instead
acl_token - Deprecated in Consul 1.4.0. See the acl.tokens.default field instead
acl_ttl - Deprecated in Consul 1.4.0. See the acl.token_ttl field instead