Excess empty file `consul.env`
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 39
Description
The empty file `/etc/consul.d/consul.env` causes extra warning message: `agent.auto_config: skipping file /etc/consul.d/consul.env, extension must be .hcl or .json, or config format must be set`
I see this after upgrading: 1.17.3 -> 1.18.2.
At the moment I install tools via HashiCorp PPA, before this I just unzip files as it was here: https://github.com/hashicorp/learn-nomad-cluster-setup
Contributor guide
Research direction
Start by comparing the files installed by the HashiCorp PPA in versions 1.17.3 and 1.18.2, focusing on /etc/consul.d/consul.env. Check the packaging or installation entry point responsible for that file; done means the empty file is no longer installed and the agent no longer emits the extension warning.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100