This topic describes how to create a Puppet repository. This is required before publishing and installing Puppet packages. There are three primary types of repositories:
Local repositories: Where you store and share 1st and 2nd party packages with your organization
Remote repositories: Enable you to download from any remote location, including external package registries or other Artifactory instances
Virtual repositories: Enable aggregating remote and local repositories, enabling your organization to scale by providing a single URL that provides access to multiple repositories and types
For more information on JFrog repositories, see Repository Management Overview.
Prerequisite: You need Admin or Project Admin permissions to create a Puppet repository. If you don't have Admin permissions, the option will not be available.
To create a puppet repository:
In the Administration tab, click Repositories | Create a Repository
Use Puppet Repository Layout
Artifactory allows you to define any layout for your Puppet repositories. To upload a module according to your custom layout, you need to package your Puppet files using
puppet module build.This creates a .tar.gz file for your module, which you can then upload to any path within your local Puppet repository.
Select the repository type you want to create, configure the required fields (described in the following list), then click Create Repository.
Click Create Repository. The repository is created, and the Repositories window is displayed.