(Doc) Explain creation of knife.rb for noobies

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
documentation

Research direction

Start by locating the README section that introduces knife.rb and compare it with the repository's existing Chef configuration. Update the documentation to explain the file location, complete contents, cookbook_path format, and meaning of node_name "solo". Done means a developer with little or no Chef experience can configure knife.rb without the listed ambiguities.

Written by the indexing model from the issue text.

Description

I'm approaching these docs from the standpoint of a basic developer who's maybe once used Chef, or maybe never. From that standpoint, it's not clear from the readme where knife.rb is supposed to be or what its total contents should be.

Ensure a knife.rb file is configured on your local machine:

node_name “solo”
data_bag_path "<cookbook_path>/data_bags"

Unclear:

  1. Where's knife.rb supposed to go? /path/to/this/repo on localhost, or under ~/.chef? Maybe /path/to/this/repo/cookbooks?
  2. Are the two lines above ALL that we need in knife.rb, or is more needed beyond just this? If so, what?
  3. Is "cookbook_path" above able to handle relative paths, or does it need to be absolute? In other words, can I use "./cookbooks", or should it be "/path/to/this/repo/cookbooks"?
  4. What's node_name "solo" mean? What if we're working with an environment that doesn't utilize a solo role machine in EY Classic? In other words, what's "solo" here - the machine role on which this is to be run, or...what?
Dominant language
Ruby
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from engineyard/eydr

All issues in engineyard/eydr

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.