jkeiser / knife-essentials

Knife commands to treat the Chef server like a filesystem
Apache License 2.0
81 stars 27 forks source link

Retry cookbook get requests for non-500/404 #94

Open jkeiser opened 11 years ago

jkeiser commented 11 years ago

https://tickets.opscode.com/browse/CHEF-3066 returns 500 when it means 404, so we turn off retries when getting /cookbooks/NAME/_latest. However, 502 and 504 should be retried. Let's handle them correctly.