Skip to content

Update Client 19 resource docs#152

Open
IanMadd wants to merge 2 commits intomainfrom
im/resource-docs-19
Open

Update Client 19 resource docs#152
IanMadd wants to merge 2 commits intomainfrom
im/resource-docs-19

Conversation

@IanMadd
Copy link
Collaborator

@IanMadd IanMadd commented Mar 2, 2026

Description

Version

These are changes for Chef Infra Client versions:

Definition of done

Issues resolved

Related PRs

Checklist

  • spellcheck
  • use relref shortcode for links to Client docs in this doc set
  • all tests pass

IanMadd added 2 commits March 2, 2026 14:12
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
@netlify
Copy link

netlify bot commented Mar 2, 2026

Deploy Preview for chef-infra-client ready!

Name Link
🔨 Latest commit 7b75258
🔍 Latest deploy log https://app.netlify.com/projects/chef-infra-client/deploys/69a5f877c4871e00080fb009
😎 Deploy Preview https://deploy-preview-152--chef-infra-client.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@IanMadd IanMadd changed the title Update Clieng 19 resource docs Update Client 19 resource docs Mar 2, 2026
@IanMadd
Copy link
Collaborator Author

IanMadd commented Mar 2, 2026

Should these resources be deleted?

  • chef_acl.yaml
  • chef_client.yaml
  • chef_container.yaml
  • chef_data_bag.yaml
  • chef_data_bag_item.yaml
  • chef_environment.yaml
  • chef_group.yaml
  • chef_node.yaml
  • chef_organization.yaml
  • chef_role.yaml
  • chef_user.yaml

@IanMadd
Copy link
Collaborator Author

IanMadd commented Mar 2, 2026

The following resources have this set of actions added, but there's no explanation of what they are:

  :reconfig:
    markdown:
  :lock:
    markdown:
  :unlock:
    markdown:
  • bff_package
  • cab_package
  • chef_gem
  • chocolatey_package
  • dpkg_package
  • gem_package
  • homebrew_package
  • ips_package
  • macports_package
  • msu_package
  • openbsd_package
  • package
  • pacman_package
  • paludis_package
  • portage_package
  • powershell_package
  • rpm_package
  • smartos_package
  • snap_package
  • solaris_package
  • windows_package
  • yum_package
  • zypper_package

I assume the actions are inherited from the package resource, but the description isn't being added to the YAML output by the rake task.

@IanMadd
Copy link
Collaborator Author

IanMadd commented Mar 2, 2026

Several resources have the default value of the chef_binary_path property changed from C:/opscode/chef/bin/chef-client to lazy default

  • chef_client_cron
  • chef_client_launchd
  • chef_client_scheduled_task
  • chef_client_systemd_timer

@@ -37,6 +37,8 @@ properties_list:
default_value: lazy default
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this right?

:purge:
markdown: Purge a gem. This action typically removes the configuration files
as well as the gem.
markdown: Purge a package. This action typically removes the configuration files
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this still be gem?

Comment on lines +66 to +67
:flush_cache:
markdown:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No description of this action.

description_list:
- markdown: A Hash of environment variables in the form of {'ENV_VARIABLE' => 'VALUE'}
to be set before running the command.
- property: flush_cache
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these properties be deleted from the package resource:

  • flush-cache
  • gem_binary
  • homebrew_user
  • ignore_failure
  • notifies
  • response_file
  • response_file_variable
  • subscribes

new_in: '17.0'
description_list:
- markdown: Continue running a recipe if a resource fails for any reason. (default false)
- property: notifies
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the notifies property be deleted?

Comment on lines +68 to +69
:change:
markdown:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a description for this action?

Comment on lines +45 to +46
:enable:
markdown:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a description for this?

Comment on lines +61 to +62
:flush_cache:
markdown:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a description for this?

Comment on lines +79 to +85
:remove:
markdown:
:makecache:
markdown: Force the creation of the repository cache. This is also done automatically
when a repository is updated.
:nothing:
shortcode: resources_common_actions_nothing.md
:add:
markdown:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the values for remove and add?

Comment on lines +50 to +51
:add:
markdown:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a description for add?

Comment on lines +55 to +58
:mask:
markdown:
:unmask:
markdown:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should these be?

ruby_type: String
required: false
description_list:
- markdown: The type of plist to be created
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be deleted?

and new owner assignments use the current user (when necessary).
- property: group
ruby_type: Integer, String
ruby_type: ''
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a bunch of instances like this where ruby_type is changed from Integer, String to ''.

@IanMadd IanMadd mentioned this pull request Mar 3, 2026
7 tasks
@IanMadd IanMadd marked this pull request as ready for review March 3, 2026 20:55
@IanMadd IanMadd requested a review from a team as a code owner March 3, 2026 20:55
required: false
default_value: 'true'
description_list:
- markdown: '**yum_package** resource only. Downgrade a package to satisfy
Copy link
Collaborator Author

@IanMadd IanMadd Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to this Jira ticket, the allow_downgrade is valid on several package resources.

https://progresssoftware.atlassian.net/browse/CHEF-25659

https://github.com/search?q=repo%3Achef%2Fchef%20allow_downgrade&type=code

We have it in the following resources:

  • dnf_package
  • dpkg_package
  • package
  • rpm_package
  • yum_package
  • zypper_package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant