Chef_With_Azure - Vishnu24/Chef-Learning GitHub Wiki

Automating Chef with https://docs.chef.io/azure_portal.html

https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-chef-automation?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json

http://stuartpreston.net/2015/02/bootstrapping-chef-clients-on-microsoft-azure/

https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-chef-automation

https://docs.chef.io/knife_bootstrap.html

https://www.chef.io/partners/azure/

https://docs.chef.io/azure_portal.html

Command To create a VM on Azure

azure vm create your-vm-name MSFT__Windows-Server-2008-R2-SP1.11-29-2011 yourusername yourpassword --location "West US" -r

Set Chef Extension Without Run List azure vm extension set-chef your-vm-name --validation-pem ~/chef-repo/.chef/testorg-validator.pem --client-config ~/chef-repo/.chef/client.rb --version "1201.12"

Set Chef Extension with a Run Lits $ azure vm extension set-chef your-vm-name --validation-pem ~/chef-repo/.chef/testorg-validator.pem --client-config ~/chef-repo/.chef/client.rb --version "1201.12" -R 'recipe[your_cookbook_name::your_recipe_name]'