-
Notifications
You must be signed in to change notification settings - Fork 3
add variables to chef environment
Russell Seymour edited this page Oct 16, 2018
·
2 revisions
Setting | Required | Default Value | Description |
---|---|---|---|
Display name | yes | Add variables to Chef environment (Chef) | Set the display name for this task |
Chef Server endpoint | yes | Select a valid Chef Server endpoint to use for this task | |
Chef environment | no | Enter the name of the Chef environment in your organization to apply the variables to | |
Chef environment namespace | no | vsts_environment_variables |
Enter the name of the namespace to apply the variables to within your Chef environment |
This task runs in an Agent phase within the Release process, and takes all the variables configured for this environment and makes them available to the specified Chef environment.
Example:
Using the default settings for the task, a variable called connection_string
created in a Azure DevOps environment, will be available within a Chef recipe as node['vsts_environment_variables']['connection_string']
Endpoints
Tasks
- Add Variables to Chef Environment
- Install ChefDK
- Execute Chef Client
- Install InSpec
- Execute Inspec
- Install Gem
- Execute Knife
- Linting
- Test Kitchen
- Release Cookbook Version to Environment
- Update Cookbook Version Number
- Upload Cookbook to Chef Server
- Publish Cookbook to Supermarket
Guides
Releases