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

Fix chef module run failure when chef_license is set #868

Merged

Conversation

bmhughes
Copy link
Contributor

Commit Message

Move chef_license from TPL_PATH_KEYS to TPL_KEYS as the chef license setting is not a path but must be added to the client config template. Fixes file or folder not found exception raised from ensure_dirs.

Test Steps

Perform a cloud-init run with chef bootstrap configuration and chef_license set.

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

Move `chef_license` from TPL_PATH_KEYS to TPL_KEYS as the chef license
setting is not a path but must be added to the client config template.
Copy link
Member

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

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

Thanks!

@TheRealFalcon TheRealFalcon merged commit 02db2c3 into canonical:master Apr 26, 2021
@bmhughes bmhughes deleted the fix-run-failure-with-chef-license-set branch April 27, 2021 11:12
TheRealFalcon added a commit to TheRealFalcon/cloud-init that referenced this pull request May 12, 2021
Ensure no Traceback when 'chef_license' is set
TheRealFalcon added a commit to TheRealFalcon/cloud-init that referenced this pull request May 14, 2021
Ensure no Traceback when 'chef_license' is set
blackboxsw pushed a commit that referenced this pull request May 19, 2021
Ensure no Traceback when 'chef_license' is set
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.

None yet

2 participants