Forge Home


Puppet module to manage puppet-agent


4,171 latest version

5.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.1.0 (latest)
released May 21st 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'rfranzen-puppet_agent', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install rfranzen-puppet_agent --version 0.1.0

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.



rfranzen/puppet_agent — version 0.1.0 May 21st 2019


Table of Contents

  1. Overview
  2. Supported Platforms
  3. Requirements
  4. Installation
  5. Reference
  6. Author / Contributors


This module will manage puppet-agent 5.x and 6.x in your system.

It's a simple module that manage puppet repository, package, service and configuration file.

Augeas resource type is used to manage parameters inside the puppet.conf.

This module was based on these two modules:


This module was tested under these platforms:

  • Debian 8 and 9 (x86_64 arch)
  • Ubuntu 16.04 and 18.04 (x86_64 arch)


Your agents must be running a minimum version of Puppet 5.


via git (inside the modules directory)

git clone puppet_agent

via puppet

puppet module install rfranzen/puppet_agent

via puppetfile

mod 'rfranzen-puppet_agent'


class { '::puppet_agent':
  certname        => "%{trusted.certname}",
  environment     => 'production',
  runinterval     => 1800,
  server          => '',
  collection      => 'puppet6',
  manage_repo     => true,

This will ensure latest version of puppet6 available in repository. Also will ensure the puppet.conf file have the correct parameters.



::puppet_agent::install #private
::puppet_agent::config #private
::puppet_agent::service #private


puppet_agent::certname: "%{trusted.certname}"
puppet:agent::environment: 'production'
puppet:agent::server: ''
puppet:agent::collection: 'puppet6'
puppet:agent::manage_repo: false


Feel free to help and improve it.

Ricardo Franzen (rfranzen at gmail dot com)