lb_internal['enable'] in /etc/opscode/chef-server.rb doesn't take effect
Open
Nobody has claimed this yet.
Status: Consider for next release
Status: Good First Issue
Status: To be prioritized
Triage: Confirmed
Type: Bug
- Dominant language
- Erlang
- Stars
- 303
- Forks
- 211
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 5
Description
Found in chef-server-core-12.2.0-1.el6.x86_64.
= Root cause =
The following code replace lb_internal with lb-internal, but lb_internal is used in the private-chef cookbook.
rkey = if key =~ /^oc_/ || key == "redis_lb"
key # leave oc_* keys as is
else
key.gsub('_', '-')
end
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at private-chef-cookbooks/private-chef/libraries/private_chef.rb#L227 and inspect how configuration keys are transformed. Verify the behavior of lb_internal in /etc/opscode/chef-server.rb; done means that setting takes effect without being renamed incompatibly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100