Wrong configuration file referenced in error message for missing server section in chef-client.rb
Nobody has claimed this yet.
- Dominant language
- Erlang
- Stars
- 303
- Forks
- 211
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 5
Description
From @kevindickerson in chef/opscode-omnibus#723:
This raise [1] produces a RuntimeError message. The message is incorrect. The message has not been updated to reflect the new location for chef-server.rb for Chef 12.
Incorrect
The RuntimeError message directs users to look at /etc/opscode/private-chef.rb.Correct
The RuntimeError message directs users to look at /etc/opscode/chef-server.rb.References
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 files/private-chef-cookbooks/private-chef/libraries/private_chef.rb around line 390, where the missing server section raises the RuntimeError. Update the referenced configuration path from /etc/opscode/private-chef.rb to /etc/opscode/chef-server.rb, and verify that the error message shows the corrected path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100