Chef Knife task

Azure Pipelines

Use this task in a build or release pipeline to run scripts with Knife commands on your Chef workstation.

YAML snippet

# Chef Knife
# Run scripts with Knife commands on your Chef workstation
- task: ChefKnife@1
  inputs:
    connectedServiceName: 
    scriptPath: 
    #scriptArguments: # Optional

Arguments

ArgumentDescription
Chef Subscription(Required) Chef subscription to configure before running knife commands
Script Path(Required) Path of the script. Should be fully qualified path or relative to the default working directory.
Script Arguments(Optional) Additional parameters to pass to Script. Can be either ordinal or named parameters.
Control options

Open source

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