Skip to content

Use absolute path to cookbooks directory#14

Open
samumbach wants to merge 1 commit intowebsterclay:masterfrom
samumbach:use_absolute_path_to_cookbooks
Open

Use absolute path to cookbooks directory#14
samumbach wants to merge 1 commit intowebsterclay:masterfrom
samumbach:use_absolute_path_to_cookbooks

Conversation

@samumbach
Copy link
Copy Markdown

Proposed fix for #8: Use File.expand_path on cookbook path so it's guaranteed to be an absolute path. This allows users to specify a relative path in their chef config or on the command line:

knife cookbook github install --cookbook-path cookbooks cookbooks/yum

@samumbach
Copy link
Copy Markdown
Author

Based on the following Chef ticket, there may soon be a standard way of handling relative paths in Chef: http://tickets.opscode.com/browse/CHEF-2577

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