第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
- In the Satellite web UI, navigate to Content > Products, and click the product that you want to use.
- Click Create Repository.
- 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.
- From the Type list, select puppet.
- 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.
- Click Save.
For CLI Users
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"