chef / chef/chef-web-docs

dsc_resource: module_name mandatory when module_version is specified.

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

Nobody has claimed this yet.

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

Description

If you specify the module_version parameter, you MUST also specify the module_name parameter as well. However the documentation as currently worded, implies that if module_name is not supplied, the module name will be inferred, suggesting that the property is not mandatory when in fact it is (at least when a module_version is also specified).

The wording should be updated to state that when module_version is specified, then module_name is required.

Per the current documentation:

module_name
Ruby Type: String

The name of the module from which a DSC resource originates. If this property is not specified, it will be inferred.

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 at the dsc_resource documentation entry and review the module_name and module_version parameter descriptions quoted in the issue. Update the wording to state that module_name is required when module_version is specified, then verify that the rendered documentation accurately reflects this requirement.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.