第16章 Managing Puppet Content

In Satellite, if you want to incorporate state configuration of hosts using Puppet modules, you can create a custom product with repositories for Puppet modules to achieve this.

16.1. Creating a Puppet Repository

The procedure for creating a Puppet module repository is the same as the procedure for creating any (customcontent), except that when you create the repository, you select the puppet type. You must create a product and then add a custom repository.

Procedure

  1. In the Satellite web UI, navigate to Content > Products, and click the product that you want to use.
  2. Click Create Repository.
  3. In the Name field, enter a name for the repository. Red Hat Satellite 6 automatically completes the Label field based on what you have entered for Name.
  4. From the Type list, select puppet.
  5. In the URL field, enter the URL of the external repository to use as a source. You can use a repository source to synchronize your own Puppet modules.
  6. Click Save.

For CLI Users

  1. Enter the following command to create a Puppet module repository:

    # hammer repository create \
    --name "PostgreSQL Puppet Modules" \
    --content-type "puppet" \
    --product "PostgreSQL" \
    --organization "My_Organization"