3.4. Creating Custom Products and Repositories

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 ContentProducts 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 ContentProducts 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.