iperf

Install and run Iperf as a daemon

Jonathan Gazeley

jgazeley

10,327 downloads

9,347 latest version

3.8 quality score

Version information

  • 0.2.1 (latest)
  • 0.2.0
  • 0.1.0
released Jun 10th 2015

Start using this module

Documentation

jgazeley/iperf — version 0.2.1 Jun 10th 2015

iperf

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

Overview

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.

Usage

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

class { 'iperf':
  firewall => true,
}

firewall

Open the firewall port automatically. Default: false

restart

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

version

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

motd

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

Limitations

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

Development

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