Now that we have Puppet code which is capable of managing various configurations, including Puppet Enterprise itself we’ll use it to configure the Relay integration for Puppet Enterprise.
Import newly available classes introduced by freshly deployed Control Repository
- Return to the PE console
- Navigate to the PE Master node group
- Find upon the page Class definitions updated… and click upon the Refresh link

Add the profile::relay class to our PE Master node group
- Select the Classes tab
- In the Add new class field type profile::relay, the console will attempt to autocomplete
- Click on the Add class button

Provide additional data to the profile::relay class
- Using the parameter drop down, add trigger_token
- Set
trigger_token
to the value of the token you obtained from Relay’s puppet-report trigger in the Configuring Relay section, step 8
- Commit 1 change to the PE Master node group

Puppet agent configuration runs do no require shell access, we’ll go ahead and use the PE console to initiate the run this time
- Scroll to the top of the page and find the Run drop down menu
- Select Puppet

New pane will open where you can modify the list of nodes Puppet will be ran on or change Run options
- Click Run job to start running Puppet on our PE deployment

Wait for Puppet run to finish
- Page will live update with status of Puppet run, eventually reporting Succeeded
- Click on the date coded link in the Report column to get a view of what the Puppet run changed

- Review the Puppet run report
- There may be additional changes here but the most important as those related to the configuration of Relay
