cookbook 'gatling', '~> 0.2.0'
gatling (1) Versions 0.2.0 Follow2
Installs/Configures Gatling performance testing tool
cookbook 'gatling', '~> 0.2.0', :supermarket
knife supermarket install gatling
knife supermarket download gatling
gatling Cookbook
This cookbook install the Gatling Stress Tool for performance testing.
Requirements
This cookbook was written on Amazon Linux so YMMV with other operating systems. Feel free to submit me a pull request. :)
This cookbook depends on the folling cookbooks:
- java
- Java is required to run Gatling.
- ark
- This is used to install the Gatling tar ball
- ulimit
- Tweak some limits for Gatling
- sysctl
- Tweak some kernel params for Gatling
Attributes
gatling::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['gatling']['user']</tt></td>
<td>String</td>
<td>Gatling user</td>
<td><tt>gatling</tt></td>
</tr>
<tr>
<td><tt>['gatling']['group']</tt></td>
<td>String</td>
<td>Gatling group</td>
<td><tt>gatling</tt></td>
</tr>
<tr>
<td><tt>['gatling']['install_prefix']</tt></td>
<td>String</td>
<td>Gatling install prefix. A Gatling versioned subdir will be created, along with a symling that is added to the path</td>
<td><tt>/usr/local</tt></td>
</tr>
<tr>
<td><tt>['gatling']['download_url']</tt></td>
<td>String</td>
<td>Gatling tarball package download URL. Set this attribute yourself by getting a URL here: http://gatling-tool.org/</td>
<td><tt>NONE</tt></td>
</tr> <tr>
<td><tt>['gatling']['version']</tt></td>
<td>String</td>
<td>Gatling version</td>
<td><tt>2.0.0-M3a</tt></td>
</tr>
</table>
Usage
gatling::default
Set the download_url
attribute.
Just include gatling
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[gatling]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Joe Richards nospam-github@disconformity.net
Dependent cookbooks
java >= 0.0.0 |
ark >= 0.0.0 |
ulimit >= 0.0.0 |
sysctl >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 failed this metric
FC009: Resource attribute not recognised: gatling/recipes/default.rb:19
FC064: Ensure issues_url is set in metadata: gatling/metadata.rb:1
FC065: Ensure source_url is set in metadata: gatling/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gatling/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gatling/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gatling/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gatling/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 failed this metric
FC009: Resource attribute not recognised: gatling/recipes/default.rb:19
FC064: Ensure issues_url is set in metadata: gatling/metadata.rb:1
FC065: Ensure source_url is set in metadata: gatling/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gatling/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gatling/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gatling/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gatling/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: gatling/metadata.rb:1
FC065: Ensure source_url is set in metadata: gatling/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gatling/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gatling/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gatling/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gatling/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number