Allow knife to install cookbooks with metadata.json
Allow knife to install cookbooks with metadata.json

Previously `knife cookbook site install` would only install cookbooks that have
a metadata.rb. This has a number of problems, mainly that compiled metadata is
supported elsewhere in Chef.

This commit adds support for parsing the metadata.json, even though the
metadata.rb is still preferred (since that's what the rest of Chef does).

evan2645/chef,malisettirammurthy/chef,polamjag/chef,juliandunn/chef,ekometti/chef,criteo-forks/chef,lamont-granquist/chef,andrewpsp/chef,grubernaut/chef,zshuo/chef,ktpan/chef-play,renanvicente/chef,strangelittlemonkey/chef,skmichaelson/chef,nathwill/chef,b002368/chef-repo,jkerry/chef,sekrett/chef,swalberg/chef,AndyBoucher/Chef-Testing,ccsplit/chef,circleback/chef,ranjib/chef,ccsplit/chef,cachamber/chef,erkolson/chef,docwhat/chef,jonlives/chef,cmluciano/chef,acaiafa/chef,b002368/chef-repo,swalberg/chef,Igorshp/chef,kaznishi/chef,Tensibai/chef,nalingarg2/chef-1,juliandunn/chef,ckaushik/chef,nellshamrell/chef,polamjag/chef,EasonYi/chef,brettcave/chef,nsdavidson/chef,nalingarg2/chef-1,jagdeesh109/chef,jimmymccrory/chef,ktpan/chef-play,jk47/chef,cmluciano/chef,jblaine/chef,aaron-lane/chef,aaron-lane/chef,nathwill/chef,EasonYi/chef,nguyen-tien-mulodo/chef,AndyBoucher/Chef-Testing,faspl/chef,oclaussen/chef,Ppjet6/chef,3dinfluence/chef,mikefaille/chef,ccsplit/chef,ChaosCloud/chef,joemiller/chef,adamleff/chef,someara/chef,mio-g/chef,sempervictus/chef,sideci-sample/sideci-sample-chef,circleback/chef,jblaine/chef,natewalck/chef,strangelittlemonkey/chef,criteo-forks/chef,jimmymccrory/chef,nvwls/chef,josb/chef,erkolson/chef,oclaussen/chef,jblaine/chef,BackSlasher/chef,evan2645/chef,BackSlasher/chef,higanworks/chef,AndyBoucher/Chef-Testing,mio-g/chef,legal90/chef,onlyhavecans/chef,askl56/chef,tbunnyman/chef,jk47/chef,juliandunn/chef,docwhat/chef,bahamas10/chef,zuazo-forks/chef,b002368/chef-repo,martinisoft/chef,pburkholder/chef,josb/chef,h4ck3rm1k3/chef,bahamas10/chef,nguyen-tien-mulodo/chef,jagdeesh109/chef,MichaelPereira/chef,3dinfluence/chef,clintoncwolfe/chef,nathwill/chef,ranjib/chef,ktpan/chef-play,someara/chef,jkerry/chef,antonifs/chef,nalingarg2/chef-1,martinisoft/chef,OpSitters/chef,mattray/chef,someara/chef,nalingarg2/chef-1,baberthal/chef,ktpan/chef-play,sanditiffin/chef,mio-g/chef,martinb3/chef,ekometti/chef,martinisoft/chef,tomdoherty/chef,ducthanh/chef,sempervictus/chef,BackSlasher/chef,gsaslis/chef,jkerry/chef,tbunnyman/chef,someara/chef,smurawski/chef,sekrett/chef,Igorshp/chef,permyakovsv/chef,swalberg/chef,EasonYi/chef,smurawski/chef,faspl/chef,jk47/chef,nathwill/chef,EasonYi/chef,lamont-granquist/chef,BackSlasher/chef,antonifs/chef,someara/chef,Ppjet6/chef,OpSitters/chef,renanvicente/chef,patcon/chef,sideci-sample/sideci-sample-chef,higanworks/chef,oclaussen/chef,3dinfluence/chef,ducthanh/chef,josb/chef,mal/chef,antonifs/chef,robmul/chef,tomdoherty/chef,sometimesfood/chef,permyakovsv/chef,Tensibai/chef,jimmymccrory/chef,DeWaRs1206/chef,circleback/chef,bahamas10/chef,Kast0rTr0y/chef,aaron-lane/chef,MichaelPereira/chef,mikedodge04/chef,jblaine/chef,skmichaelson/chef,webframp/chef,mikedodge04/chef,zuazo-forks/chef,grubernaut/chef,nvwls/chef,antonifs/chef,jagdeesh109/chef,gene1wood/chef,nvwls/chef,kaznishi/chef,docwhat/chef,lamont-granquist/chef,sometimesfood/chef,DeWaRs1206/chef,clintoncwolfe/chef,jblaine/chef,mikedodge04/chef,oclaussen/chef,MsysTechnologiesllc/chef,sekrett/chef,OpSitters/chef,sometimesfood/chef,nsdavidson/chef,smurawski/chef,andrewpsp/chef,tbunnyman/chef,b002368/chef-repo,tbunnyman/chef,nsdavidson/chef,AndyBoucher/Chef-Testing,permyakovsv/chef,faspl/chef,ccsplit/chef,gene1wood/chef,paulmooring/chef,ChaosCloud/chef,mikefaille/chef,zshuo/chef,OpSitters/chef,natewalck/chef,tomdoherty/chef,mikedodge04/chef,nicklv/chef,baberthal/chef,adamleff/chef,h4ck3rm1k3/chef,erkolson/chef,jk47/chef,h4ck3rm1k3/chef,erkolson/chef,Kast0rTr0y/chef,mal/chef,webframp/chef,h4ck3rm1k3/chef,DeWaRs1206/chef,nsdavidson/chef,ranjib/chef,grubernaut/chef,martinb3/chef,polamjag/chef,sanditiffin/chef,patcon/chef,nalingarg2/chef-1,nicklv/chef,cachamber/chef,josb/chef,jmhardison/chef,brettcave/chef,evan2645/chef,nsdavidson/chef,criteo-forks/chef,jagdeesh109/chef,juliandunn/chef,joemiller/chef,gsaslis/chef,EasonYi/chef,evan2645/chef,ChaosCloud/chef,Igorshp/chef,MsysTechnologiesllc/chef,ducthanh/chef,MichaelPereira/chef,grubernaut/chef,permyakovsv/chef,b002368/chef-repo,aaron-lane/chef,jaymzh/chef,mattray/chef,baberthal/chef,mattray/chef,nguyen-tien-mulodo/chef,acaiafa/chef,gene1wood/chef,criteo-forks/chef,cgvarela/chef,h4ck3rm1k3/chef,webframp/chef,custora/chef,someara/chef,clintoncwolfe/chef,jmhardison/chef,nicklv/chef,jkerry/chef,mal/chef,josb/chef,kaznishi/chef,tas50/chef-1,MsysTechnologiesllc/chef,nicklv/chef,joemiller/chef,Igorshp/chef,jkerry/chef,ChaosCloud/chef,cachamber/chef,cachamber/chef,DeWaRs1206/chef,clintoncwolfe/chef,bahamas10/chef,paulmooring/chef,paulmooring/chef,jimmymccrory/chef,sempervictus/chef,mikedodge04/chef,adamleff/chef,h4ck3rm1k3/chef,MichaelPereira/chef,mal/chef,polamjag/chef,cgvarela/chef,custora/chef,tas50/chef-1,legal90/chef,baberthal/chef,BackSlasher/chef,grubernaut/chef,malisettirammurthy/chef,3dinfluence/chef,andrewpsp/chef,ekometti/chef,ducthanh/chef,webframp/chef,zshuo/chef,zshuo/chef,nathwill/chef,renanvicente/chef,askl56/chef,patcon/chef,evan2645/chef,tbunnyman/chef,mwrock/chef,jaymzh/chef,swalberg/chef,Ppjet6/chef,zuazo-forks/chef,Tensibai/chef,natewalck/chef,sempervictus/chef,strangelittlemonkey/chef,ktpan/chef-play,nellshamrell/chef,jonlives/chef,adamleff/chef,swalberg/chef,smurawski/chef,malisettirammurthy/chef,BackSlasher/chef,robmul/chef,circleback/chef,malisettirammurthy/chef,askl56/chef,docwhat/chef,joemiller/chef,3dinfluence/chef,ranjib/chef,mal/chef,ckaushik/chef,mikefaille/chef,malisettirammurthy/chef,martinb3/chef,docwhat/chef,askl56/chef,youngjl1/chef,youngjl1/chef,custora/chef,Kast0rTr0y/chef,faspl/chef,ktpan/chef-play,mal/chef,legal90/chef,sanditiffin/chef,jonlives/chef,custora/chef,martinisoft/chef,higanworks/chef,Kast0rTr0y/chef,jimmymccrory/chef,criteo-forks/chef,circleback/chef,cgvarela/chef,strangelittlemonkey/chef,onlyhavecans/chef,joemiller/chef,zshuo/chef,erkolson/chef,mattray/chef,tbriggs-curse/chef,tbriggs-curse/chef,Igorshp/chef,mikefaille/chef,ChaosCloud/chef,ckaushik/chef,paulmooring/chef,zshuo/chef,gsaslis/chef,jagdeesh109/chef,webframp/chef,onlyhavecans/chef,acaiafa/chef,cgvarela/chef,swalberg/chef,cachamber/chef,smurawski/chef,legal90/chef,skmichaelson/chef,onlyhavecans/chef,tomdoherty/chef,robmul/chef,karthikrev/chef,faspl/chef,bahamas10/chef,zuazo-forks/chef,tas50/chef-1,adamleff/chef,tbunnyman/chef,ducthanh/chef,cmluciano/chef,nathwill/chef,tas50/chef-1,karthikrev/chef,skmichaelson/chef,askl56/chef,OpSitters/chef,joemiller/chef,cgvarela/chef,b002368/chef-repo,robmul/chef,jonlives/chef,aaron-lane/chef,renanvicente/chef,martinisoft/chef,lamont-granquist/chef,smurawski/chef,nellshamrell/chef,sometimesfood/chef,brettcave/chef,permyakovsv/chef,jonlives/chef,karthikrev/chef,tbriggs-curse/chef,chef/chef,ranjib/chef,nellshamrell/chef,oclaussen/chef,paulmooring/chef,permyakovsv/chef,custora/chef,antonifs/chef,natewalck/chef,acaiafa/chef,ekometti/chef,adamleff/chef,erkolson/chef,onlyhavecans/chef,youngjl1/chef,higanworks/chef,Igorshp/chef,patcon/chef,aaron-lane/chef,pburkholder/chef,acaiafa/chef,antonifs/chef,sempervictus/chef,sideci-sample/sideci-sample-chef,ckaushik/chef,criteo-forks/chef,MsysTechnologiesllc/chef,gene1wood/chef,mikefaille/chef,jagdeesh109/chef,cachamber/chef,tbriggs-curse/chef,zuazo-forks/chef,webframp/chef,ccsplit/chef,chef/chef,martinb3/chef,bahamas10/chef,grubernaut/chef,cmluciano/chef,sekrett/chef,jmhardison/chef,jk47/chef,andrewpsp/chef,nguyen-tien-mulodo/chef,nellshamrell/chef,ducthanh/chef,legal90/chef,onlyhavecans/chef,sanditiffin/chef,strangelittlemonkey/chef,sideci-sample/sideci-sample-chef,zuazo-forks/chef,jk47/chef,martinb3/chef,Ppjet6/chef,clintoncwolfe/chef,nsdavidson/chef,Ppjet6/chef,jmhardison/chef,ckaushik/chef,mio-g/chef,OpSitters/chef,MichaelPereira/chef,Kast0rTr0y/chef,nguyen-tien-mulodo/chef,evan2645/chef,youngjl1/chef,polamjag/chef,oclaussen/chef,polamjag/chef,malisettirammurthy/chef,Tensibai/chef,3dinfluence/chef,nalingarg2/chef-1,andrewpsp/chef,nguyen-tien-mulodo/chef,baberthal/chef,mikefaille/chef,MichaelPereira/chef,mikedodge04/chef,faspl/chef,askl56/chef,sanditiffin/chef,jkerry/chef,mio-g/chef,ccsplit/chef,jaymzh/chef,circleback/chef,renanvicente/chef,skmichaelson/chef,DeWaRs1206/chef,cmluciano/chef,pburkholder/chef,mio-g/chef,nvwls/chef,josb/chef,ekometti/chef,jaymzh/chef,nicklv/chef,strangelittlemonkey/chef,youngjl1/chef,EasonYi/chef,sideci-sample/sideci-sample-chef,patcon/chef,martinb3/chef,mwrock/chef,renanvicente/chef,jimmymccrory/chef,nicklv/chef,gsaslis/chef,kaznishi/chef,natewalck/chef,docwhat/chef,karthikrev/chef,cgvarela/chef,nvwls/chef,legal90/chef,brettcave/chef,sanditiffin/chef,natewalck/chef,AndyBoucher/Chef-Testing,tomdoherty/chef,sometimesfood/chef,mattray/chef,lamont-granquist/chef,ekometti/chef,jblaine/chef,jmhardison/chef,gsaslis/chef,clintoncwolfe/chef,custora/chef,sekrett/chef,higanworks/chef,Kast0rTr0y/chef,pburkholder/chef,ranjib/chef,AndyBoucher/Chef-Testing,baberthal/chef,skmichaelson/chef,jonlives/chef,pburkholder/chef,ChaosCloud/chef,sekrett/chef,robmul/chef,mwrock/chef,gsaslis/chef,sempervictus/chef,kaznishi/chef,Tensibai/chef,ckaushik/chef,andrewpsp/chef,jmhardison/chef,brettcave/chef,Ppjet6/chef,youngjl1/chef,karthikrev/chef,nvwls/chef,paulmooring/chef,tbriggs-curse/chef,chef/chef,tbriggs-curse/chef,pburkholder/chef,sometimesfood/chef,chef/chef,robmul/chef,patcon/chef,mwrock/chef,DeWaRs1206/chef,karthikrev/chef,nellshamrell/chef,lamont-granquist/chef,kaznishi/chef,acaiafa/chef,brettcave/chef,juliandunn/chef