Disable the agent

puppet agent

  • Retrieves the client configuration from a Puppet server and applies it to the local host.
    More information: <https://puppet.com/docs/puppet/7/man/agent.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

puppet agent --disable "{{message}}"

click the source code to copy install puppet agent on any operating system with command-not-found.com