Chef task

Azure Pipelines

Use this task in a build or release pipeline to deploy to Chef environments by editing environment attributes.

YAML snippet

# Chef
# Deploy to Chef environments by editing environment attributes
- task: Chef@1
    #chefWaitTime: '30' 


Chef Connection(Required) Name of the Chef subscription
Environment(Required) Name of the Chef Environment to be used for Deployment. The attributes of that environment will be edited.
Environment Attributes(Required) Specify the value of the leaf node attribute(s) to be updated. Example. { "default_attributes.connectionString" : "$(connectionString)", "override_attributes.buildLocation" : "" }. Task fails if the leaf node does not exist.
Wait Time(Required) The amount of time (in minutes) to wait for this task to complete. Default value: 30 minutes
Control options

Open source

This task is open source on GitHub. Feedback and contributions are welcome.