Deploy a Chef Package Using cURL

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

To deploy a cookbook using Knife, run:

knife artifactory share <cookbook-name> [CATEGORY]

Where:

  • <cookbook-name>: This is a placeholder for the name of your cookbook.

  • [CATEGORY]: This is an optional argument specifying the category your cookbook belongs to. It helps organize cookbooks in Artifactory (for example, “Web Servers”, “Databases”, or “Monitoring”).

Example

knife artifactory share nginx "Web Servers"