Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Allow relative paths for generator cookbook config #274

Merged
merged 1 commit into from
Dec 18, 2014

Conversation

danielsdeleo
Copy link
Contributor

Fixes an issue where Chef is unable to locate templates when the generator_cookbook is given via a relative path (like ~/something).

@@ -39,7 +39,7 @@ def converge
message = "Could not find cookbook(s) to satisfy run list #{run_list.inspect} in #{cookbook_path}"
raise CookbookNotFound.new(message, e)
rescue => e
raise ChefConvergeError("Chef failed to converge: #{e}", e)
raise ChefConvergeError.new("Chef failed to converge: #{e}", e)
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't there be a test that had to be fixed from this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

test added.

@tyler-ball
Copy link
Contributor

👍 other than my coverage comment

Fixes an issue where Chef is unable to locate templates when the
generator_cookbook is given via a relative path
@danielsdeleo danielsdeleo force-pushed the custom-generator-relpaths branch from 13297d5 to f2409c1 Compare December 18, 2014 22:05
@danielsdeleo danielsdeleo merged commit f2409c1 into master Dec 18, 2014
@danielsdeleo danielsdeleo deleted the custom-generator-relpaths branch December 18, 2014 22:54
ksubrama pushed a commit that referenced this pull request Jan 11, 2016
Bump omnibus-sw to latest master w/ cacert fixes
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants