Skip to content

Commit

Permalink
Updated the Readme
Browse files Browse the repository at this point in the history
Signed-off-by: NAshwini <ashwini.nehate@msystechnologies.com>
  • Loading branch information
NAshwini committed May 27, 2020
1 parent 3163d3e commit 30a439f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ publicconfig.config example:
"chef_daemon_interval": "18",
"daemon": "none",
"chef_package_path" : "C:\\Users\\azure\\chef-client-14.12.9-1-x64.msi",
"CHEF_LICENSE" : "accept-no-persist",
"custom_json_attr": {
"container_service": { "chef-init-test": { "command": "C:\\opscode\\chef\\bin" } },
"custom_json_attr": { "policy_group": "azuregrp", "policy_name": "azurepolicy" }
Expand Down Expand Up @@ -163,6 +164,7 @@ Update-AzureVM -VM $vmOb.VM -Name "<vm-name>" -ServiceName "<cloud-service-name>
- `environment_variables`: Specifies the list of environment variables (like the environment variables for proxy server configuration) to be available to the Chef Extension scripts.
- `bootstrap_channel`: Specify the channel for installing chef client version from `stable`, `current` or `unstable` release channel.
- `chef_package_path`: chef_package_path allows installing chef-client from local path. We provided this option so that user is able to install chef-client from the local path. This feature mainly added where there is restrictions on internet access. But also note azure extensions itself has limitations in respect of network access please refer to this [link](https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-linux#network-access) which explains this in details.
`CHEF_LICENSE`: Affected product versions which require accepting the CHEF EULA license (requires chef 15 + ). Set `CHEF_LICENSE` with either of these values `accept`, `accept-silent` or `accept-no-persist`. Refer to [CHEF EULA license] (https://docs.chef.io/chef_license_accept/#accept-the-chef-eula)
- `hints`: Specifies the Ohai Hints to be set in the Ohai configuration of the target node.

***Note***: Set these options under `properties` --> `settings` section of the `Microsoft.Compute/virtualMachines/extensions` resource type as shown in the below example:
Expand Down Expand Up @@ -198,6 +200,7 @@ Update-AzureVM -VM $vmOb.VM -Name "<vm-name>" -ServiceName "<cloud-service-name>
"chef_daemon_interval": "18",
"daemon" : "service",
"chef_package_path": "/tmp/chef-14.12.9-1.el7.x86_64.rpm",
"CHEF_LICENSE" : "accept-no-persist",
"custom_json_attr": {
"container_service": { "chef-init-test": { "command": "C:\\opscode\\chef\\bin" } }
},
Expand Down

0 comments on commit 30a439f

Please sign in to comment.