Open sumbach opened 13 years ago
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
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
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: