Forge Home


Puppet module to manage the puppet.conf via Puppet for a node


12,083 latest version

4.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Aug 18th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'bmurt-puppet_agent', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add bmurt-puppet_agent
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install bmurt-puppet_agent --version 0.0.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



bmurt/puppet_agent — version 0.0.4 Aug 18th 2014


  • Puppet module to manage the puppet.conf via Puppet for a node.
  • Supports Puppet Enterprise and Puppet Open Source editions



class { '::puppet_agent': puppetmaster => '', install_type => 'open_source', }

At a minimum, the puppetmaster parameter must be configured. The install_type defaults to 'enterprise' and can also have the 'open_source' value. All other values will default to Puppet Enterprise or Open Source defaults.

The environment value is configured based on the environment used upon the last agent checkin. To change the environment, checkin using a different environment. For example after testing a feature release, checkin with production:

puppet agent --test --environment production

This minimal class can be added to any role/profile or node definition.


  • Contributions are encouraged. Please fork and submit a PR for review.


Please log issues at


Apache GPL v2


  • Not compatible with base Vagrant provisioning due to puppet apply being used as the method
    • If another module installs Puppet or PE, this module should be compatible. Untested & feedback welcomed.


  • v0.0.3

    • Update params to match out-of-the-box values
    • Add examples
    • Add verification for $puppetmaster value to ensure parameter is configured
  • v0.0.2

    • Bug Fixes
    • Set class execution order
  • v0.0.1

    • Initial Release