This class installs the latest stable version of JMeter (currently v2.9) from apache.org. If you use the ::server
class, an init-file will be added to /etc/init.d
and JMeter will be started in server mode listening on the default port.
Both the jmeter
and jmeter::server
can optionally install the jmeter-plugins
package which adds a lot of useful listeners, thread groups, etc.
The init script is based on the one available at https://gist.github.com/2830209.
Install JMeter:
class { 'jmeter': }
Install JMeter v2.6 and JMeterPlugins v0.5.6
class { 'jmeter':
jmeter_version => '2.6',
jmeter_plugins_install => True,
jmeter_plugins_version => '0.5.6',
}
Install JMeter server using the default host-only IP address 0.0.0.0:
class { 'jmeter::server': }
Install JMeter server using a custom host-only IP address:
class { 'jmeter::server':
server_ip => '33.33.33.42',
}
Morten Wulff
[email protected]
Dario Duvnjak
@darioduvnjak