Testing the changes

After your test node is properly attached to the environment group, you can log in to the node and trigger an agent run with puppet agent -t. Alternatively, you can run the Puppet agent through the PE console and read the log there. If you don't see any changes, there are a few possible reasons, as follows:

  • The agent has already run, between when you classified the node in the console and ran the Puppet agent.
  • A step was missed and the code was not properly deployed.
  • Your code does not trigger any new changes on the system, and you should modify the system to see if Puppet corrects the change.

Ensure that you check the resources targeted by your change to see whether the agent has already deployed the new changes. You ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.