chef / chef/chef-web-docs

Document an easy way to get current number of consumed nodes.

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

Nobody has claimed this yet.

Aspect: Documentation Component: Chef Infra Client Topic: API Topic: Knife
Dominant language
HTML
Stars
143
Forks
438
Avg merge
1d 10h
Merged PRs (30d)
16

Description

The functionality is out there, but it doesnt seem to be documented.
Not sure on the place place, perhaps start with here:
https://docs.chef.io/chef_license.html
and
https://docs.chef.io/api_chef_server.html

knife raw license -s https://localhost/ -c /etc/opscode/pivotal.rb
# knife raw license -s https://localhost/ -c /etc/opscode/pivotal.rb
{
  "limit_exceeded": true,
  "node_license": 25,
  "node_count": 28124,
  "upgrade_url": "http://www.getchef.com/contact/on-premises-simple"
}

Contributor guide

Open the contributing guide

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.

Research direction

Start with the documentation pages chef_license.html and api_chef_server.html mentioned in the issue, and review the knife raw license command and sample response. Document an easy way to retrieve the current consumed node count, including what node_count represents, and make the result available from the relevant documentation page.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.