Configure Relay Integration

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.

  1. 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 Step 9
  2. 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 Step 10
  3. 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 Step 11
  4. 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 Step 12
  5. 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 Step 13
  6. 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 Step 14
    1. Review the Puppet run report
    2. There may be additional changes here but the most important as those related to the configuration of Relay Step 15