Version information
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
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'dduvnjak-jmeter', '0.4.2'
Learn more about managing modules with a PuppetfileDocumentation
Puppet JMeter
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,
}
Dependencies
- puppetlabs/stdlib (>= 4.5.0 < 7.0.0)
- puppet-archive (>= 1.3.0 < 5.0.0)