Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for the chef_client_config resource #12732

Merged

Conversation

chef-davin
Copy link
Contributor

@chef-davin chef-davin commented Mar 29, 2022

Description

This pull request is for two fixes for the chef_client_config resource to update the template to properly write out the values for the datacollector parameters. They were not being properly quoted previously.

Related Issue

#12713 - chef_client_config resource doesn't generate data_collector.url and data_collector.token properly in client.rb

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

…perly quote out the data_collector properties when writing those to the client.rb

Signed-off-by: Davin Taddeo <davin@chef.io>
@chef-davin chef-davin requested review from a team as code owners March 29, 2022 20:30
@github-actions github-actions bot added the documentation How do we use this project? label Mar 29, 2022
@johnmccrae
Copy link
Contributor

Davin, we took a PR for this exact scenario from the community. Are you familiar with a user whose account name is DecoyJoe?

@chef-davin chef-davin force-pushed the davin/chef_client_config_updates branch from 988861e to 2dbcf1b Compare March 30, 2022 23:57
Copy link
Contributor

@PrajaktaPurohit PrajaktaPurohit left a comment

Choose a reason for hiding this comment

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

The failures in the verify pipeline are not related.

@PrajaktaPurohit PrajaktaPurohit merged commit 3581c77 into chef:main Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation How do we use this project?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants