Skip to content

[BUG] Misleading documentation on package's allow_downgrade property #4472

@slabstone

Description

@slabstone

General details

Link to page and section that needs updated:

https://docs.chef.io/resources/package/#properties

Product

  • Chef Automate
  • Chef Habitat
  • Chef Infra Client
  • Chef Infra Server
  • Chef InSpec
  • Other________________

Describe the update that needs to be made. Be as specific as possible:

Current docs say that allow_downgrade property is for yum_package resource only, which is not correct.

It was added for apt_package back in 2018: chef/chef@9ee9fac

Many other package resources also have it: https://github.com/search?q=repo%3Achef%2Fchef%20allow_downgrade&type=code

The yum_package resource only note should either be removed completely or replaced with actual supported resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions