{"action":"closed","issue":{"url":"https://api.github.com/repos/chef-partners/azure-chef-extension/issues/162","repository_url":"https://api.github.com/repos/chef-partners/azure-chef-extension","labels_url":"https://api.github.com/repos/chef-partners/azure-chef-extension/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/chef-partners/azure-chef-extension/issues/162/comments","events_url":"https://api.github.com/repos/chef-partners/azure-chef-extension/issues/162/events","html_url":"https://github.com/chef-partners/azure-chef-extension/issues/162","id":170882447,"number":162,"title":"How do i get the newest version on Windows VMs?","user":{"login":"chlsmith","id":10780098,"avatar_url":"https://avatars.githubusercontent.com/u/10780098?v=3","gravatar_id":"","url":"https://api.github.com/users/chlsmith","html_url":"https://github.com/chlsmith","followers_url":"https://api.github.com/users/chlsmith/followers","following_url":"https://api.github.com/users/chlsmith/following{/other_user}","gists_url":"https://api.github.com/users/chlsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/chlsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chlsmith/subscriptions","organizations_url":"https://api.github.com/users/chlsmith/orgs","repos_url":"https://api.github.com/users/chlsmith/repos","events_url":"https://api.github.com/users/chlsmith/events{/privacy}","received_events_url":"https://api.github.com/users/chlsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-12T14:22:41Z","updated_at":"2016-10-20T07:04:58Z","closed_at":"2016-10-20T07:04:58Z","body":"No matter what I try, I end up with version 12.3 of the Chef client when I deploy with an ARM template.   The quickstarts from MS have a VM with Chef client installed, but the \"autoupdate\" value is never used in the template, so I don't know where to put it.   Also, I have no idea where to tell it the version of the client to use...is it \"typeHandlerVersion\"?\r\n\r\nHere's what I have used and it's yet to really work the way I'd expect.   Nothing I see lets me pick the most recent version of the client, nor is there anything in there to update automatically.\r\n\r\n\r\n       {\r\n            \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n            \"name\": \"[concat(parameters('vmNameBase'),copyIndex(1),'/ChefClient')]\",\r\n            \"apiVersion\": \"2015-06-15\",\r\n            \"location\": \"[variables('location')]\",\r\n            \"copy\": {\r\n                \"name\": \"vmCopy\",\r\n                \"count\": \"[parameters('vmCount')]\"\r\n            },\r\n            \"dependsOn\": [\r\n                \"[concat('Microsoft.Compute/virtualMachines/', parameters('vmNameBase'),copyIndex(1))]\"\r\n            ],\r\n            \"properties\": {\r\n                \"publisher\": \"Chef.Bootstrap.WindowsAzure\",\r\n                \"type\": \"ChefClient\",\r\n                \"typeHandlerVersion\": \"1207.12\",\r\n                \"settings\": {\r\n                    \"bootstrap_options\": {\r\n                        \"chef_node_name\": \"[concat(parameters('vmNameBase'),copyIndex(1))]\",\r\n                        \"chef_server_url\": \"[parameters('chef_server_url')]\",\r\n                        \"validation_client_name\": \"[parameters('validation_client_name')]\"\r\n                    },\r\n                    \"runlist\": \"[parameters('runlist')]\"\r\n                },\r\n                \"protectedSettings\": {\r\n                    \"validation_key\": \"[parameters('validation_key')]\"\r\n                }\r\n            }\r\n        }"}}
{"actor":{"display_login":"NimishaS"}}