Chef Knife task

Azure DevOps Services

Use this task 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.

Task control options

Open source

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