Search

3.4. Creating Custom Products and Repositories

download PDF
This section describes how to create a custom product, reflecting the Puppet modules to deploy. You can also use this procedure to create custom repositories for both Puppet and Yum.

Procedure 3.4. To Create a Custom Product:

  1. Click Content Products and then click New Product.
  2. Enter Custom Products in the Name field. The label is automatically generated. You do not need to enter a GPG key, synchronization plan or description.
  3. Click Save.
  4. After the screen refreshes, click Create Repository.
  5. Enter Puppet Modules for the name. The label is automatically generated.
  6. In the Type field, select puppet. Leave the URL field blank.
  7. Click Save.
The next step is to upload a Puppet Module to the Puppet Module repository. You can also use the https://forge.puppetlabs.com as the URL to mirror Puppet Forge locally. This means that all of the content from Puppet Forge will be available on your Satellite. However, this requires downloading over 2700 modules and can take considerable time, depending on available bandwidth. This example uses the motd module because it is simple, and has no dependencies on other modules.

Procedure 3.5. To Upload a Puppet Module to the Repository:

  1. Download the motd puppet module from https://forge.puppetlabs.com/jeffmccune/motd. The file that you download will have a .tar.gz extension.
  2. Click Content Products and then click Custom Products in the Name field.
  3. On the Repositories tab, click Puppet Modules to modify the Puppet Modules repository.
  4. In the Upload Puppet Module section, click Browse, and navigate to the motd module that you downloaded.
  5. Click Upload.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.