Deploy Your Puppet Modules

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Deploy Puppet Modules Using the Artifactory UI

  1. In the Platform tab, click Artifactory | Artifacts, then click ellipsis |Deploy(Upload). Deploy options are displayed.

    art-puppet-deploy-ui-10-28.png
  2. Select your Puppet repository as the Target Repository, and upload the file you want to deploy.

  3. Verify the deploy options, then click Deploy. The package is deployed.

Deploy Puppet Modules Using Artifactory REST API

To deploy a Puppet module into an Artifactory repository, you need to use Artifactory's REST API or the Web UI.For example, to deploy a Puppet module into this repository using the REST API, use the following command:

Note

Only applicable to Local Puppet Repositories

curl -L -u <USERNAME>:<PASSWORD> -XPUT https://company.jfrog.io/artifactory/puppet-local/<TARGET_FILE_PATH> -T <PATH_TO_FILE>

Example

curl -L -u john:APd1hK5d7Lp -XPUT https://company.jfrog.io/artifactory/puppet-local/mymodule/mymodule-1.0.0.tar.gz -T mymodule-1.0.0.tar.gz