8.3. Creating a Content View with a Puppet Module

Use this procedure to create a Content View using one repository and no filters.

Prerequisites

Before you begin, upload the required Puppet module to a repository within a custom product. For more information, see Adding Puppet Modules to Red Hat Satellite 6 in the Puppet Guide.

Procedure

To create a Content View with a Puppet module, complete the following steps:

  1. In the Satellite web UI, navigate to Content > Content Views and click Create New View.
  2. In the Name field, enter a name for the view. Red Hat Satellite 6 automatically completes the Label field from the name you enter.
  3. In the Description field, enter a description of the view.
  4. Click Save to complete.
  5. In the Repository Selection area, select the repositories that you want to add to your Content View, then click Add Repositories.
  6. Click the Puppet Modules tab, then click Add New Module.
  7. Search for the module that you want to add and click Select a Version.
  8. Navigate to the entry for Use Latest and click Select Version in the Actions column.
  9. To publish, click the Versions tab and click Publish New Version. In the Description field, enter a description to log the changes and click Save.

To register a host to your content view, see Registering Hosts in the Managing Hosts guide.

For CLI Users

To add a Puppet module to a Content View, enter the following command:

# hammer content-view puppet-module add \
--content-view cv_name \
--name module_name