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:
- Click
and then click . - 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. - Click.
- After the screen refreshes, click.
- Enter
Puppet Modules
for the name. The label is automatically generated. - In the Type field, select
puppet
. Leave the URL field blank. - Click.
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:
- Download the motd puppet module from https://forge.puppetlabs.com/jeffmccune/motd. The file that you download will have a
.tar.gz
extension. - Click
and then click Custom Products in the Name field. - On the Repositories tab, click Puppet Modules to modify the Puppet Modules repository.
- In the Upload Puppet Module section, click , and navigate to the motd module that you downloaded.
- Click.