jmeter

Module for JMeter configuration

dduvnjak

dduvnjak

36,155 downloads

959 latest version

Version information

  • 0.4.2 (latest)
  • 0.4.1
  • 0.4.0
  • 0.3.1
  • 0.3.0
  • 0.2.6
  • 0.2.5
  • 0.2.4
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.0
  • 0.0.4
  • 0.0.3
  • 0.0.2
released Oct 15th 2020
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, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.1 < 7.0.0
  • Debian
    ,
    RedHat
    ,
    CentOS
    ,
    Ubuntu

Start using this module

Documentation

dduvnjak/jmeter — version 0.4.2 Oct 15th 2020

Puppet JMeter

Build Status Puppet Forge Puppet Forge - downloads

This class installs JMeter from apache.org. If you set the enable_server parameter, a service will be configured and enabled, and JMeter will be started in server mode listening on the default port.

jmeter can optionally install the plugin manager, which allows you to install additional plugins.

The init script is based on the one available at https://gist.github.com/2830209.

Note: If you are using 3.x, you will need to have at least Java 8 installed. If the version is not set, the module will try to choose an appropriate version for you.

Requirements

This module requires Puppet 4.7.1 or higher, as well as the stdlib and puppet-archive modules. On systems that use systemd, (Ubuntu >= 16.04, CentOS >= 7), camptocamp/systemd is a soft dependency.

Basic usage

Install JMeter:

class { 'jmeter': }

Install JMeter v3.x, plugin manager (JMeterPlugins, and enable the most recent version of plugins 'foo' and 'bar'.

class { 'jmeter':
  jmeter_version         => '3.3',
  plugin_manager_install => true,
  plugins                => {
    'foo' => { ensure => present },
    'bar' => { ensure => present },
  }
}

Install JMeter server using the default host-only IP address 0.0.0.0:

class { 'jmeter':
  enable_server => true,
}

Install JMeter server using a custom host-only IP address:

class { 'jmeter':
  enable_server => true,
  bind_ip       => '10.33.33.42',
}

Install a plugin (if not using the jmeter::plugins example above):

jmeter_plugin { 'foo':
  ensure => present,
}