c10l / cookbook-deploy_key

Idempotent Chef LWRP for creating, adding, removing and deleting SSH Deploy Keys on Bitbucket and Github
https://supermarket.getchef.com/cookbooks/deploy_key
Other
44 stars 27 forks source link

[BUGFIX] Headers where not correctly set when using token authentication #3

Closed ggayan closed 10 years ago

ggayan commented 10 years ago

Hey guys, the cookbook was failing for me since yesterday; I don't know exactly why, but I noticed that the requests headers where not being set correctly.

Here is the fix, let me know if it is ok to merge.

Cheers

c10l commented 10 years ago

Thanks, I'll upload it to the community site soon!

c10l commented 10 years ago

@ggayan Hey man, would you mind testing version 0.1.0 of the cookbook with a token? I made significant changes to replace the dependency on httparty as it was creating dependency issues with other stuff. Thanks!