Forge Home


Install and run Iperf as a daemon


10,640 latest version

3.8 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.2.1 (latest)
  • 0.2.0
  • 0.1.0
released Jun 10th 2015

Start using this module

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

Add this module to your Puppetfile:

mod 'jgazeley-iperf', '0.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jgazeley-iperf
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jgazeley-iperf --version 0.2.1

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.



jgazeley/iperf — version 0.2.1 Jun 10th 2015


Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Limitations - OS compatibility, etc.
  4. Development - Guide for contributing to the module


This module installs Iperf and configures it to run as a daemon.

It installs Iperf 3 from distro repos but sets it to listen on TCP port 5001, which is the default for Iperf 2. This is because many Iperf clients distributed are version 2. If anyone raises an issue, I'll add support for customising the listen port.


This module is simple to use. The only parameter is to enable to disable automatic firewall rules.

class { 'iperf':
  firewall => true,


Open the firewall port automatically. Default: false


Periodically restart iperf2 via cron, since it has a bug where it consumes 100% CPU. Default: false


Specify an array of versions you wish to install. Multiple versions are OK. Available options: 2, 3.


Whether you want this module to automatically insert a service into motd using jgazeley/motd. Default: false.


This is where you list OS compatibility, version compatibility, etc.


Since your module is awesome, other users will want to play with it. Let them know what the ground rules for contributing are.