berkshelf / ridley

A reliable Chef API client with a clean syntax
Other
231 stars 85 forks source link

Use specificity root_default for files without a specificity folder. #309

Closed coderanger closed 9 years ago

coderanger commented 9 years ago

This is things like files/foo.txt or templates/config.erb, added in Chef 12. Also adds unit tests for Cookbook#file_specificity.

Currently Ridley sends nil which is rejected as invalid by Chef Server.

johnbellone commented 9 years ago

@coderanger Just verified this patch fixes my upload problems.

reset commented 9 years ago

@coderanger thanks!

reset commented 9 years ago

@coderanger is this backwards compat with Chef 11?

coderanger commented 9 years ago

No, but the feature doesn't work on Chef Client 11 anyway so it would be unable to use the uploaded cookbook either way.

reset commented 9 years ago

@coderanger @johnbellone released this as 4.2.0