This class installs the latest stable version of JMeter (currently v2.13) 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.13 including 'Standard' and 'Extras' set of JMeterPlugins v1.2.1
class { 'jmeter':
jmeter_version => '2.13',
jmeter_plugins_install => true,
jmeter_plugins_version => '1.2.1',
jmeter_plugins_set => ['Standard', 'Extras']
}
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
wulff@ratatosk.net
Dario Duvnjak
http://dtk.io/