Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


bamboo-agent (8) Versions 0.7.0

Installs/Configures a bamboo agent

cookbook 'bamboo-agent', '~> 0.7.0'
cookbook 'bamboo-agent', '~> 0.7.0', :supermarket
knife supermarket install bamboo-agent
knife supermarket download bamboo-agent
Quality 50%

Bamboo-agent Cookbook Build Status

A Chef cookbook for managing Bamboo agents.

It can: - Install multiple agents side-by-side on a node - Ensure agents are running / started up after a reboot - Set properties in a agent's wrapper.conf - Manage agent capabilities

This cookbook is based on the Puppet module:



<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['bamboo-agent']['server']['address']</tt></td> <td>String</td> <td>Bamboo server address</td> <td><tt>localhost</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['server']['protocol']</tt></td> <td>String</td> <td>Bamboo server protocol</td> <td><tt>localhost</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['server']['port']</tt></td> <td>Integer/String</td> <td>Bamboo server port</td> <td><tt>8085</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['install_dir']</tt></td> <td>String</td> <td>whether to install bamboo agents</td> <td><tt>/usr/local/bamboo</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['installer_jar']</tt></td> <td>String</td> <td>whether to download the installer</td> <td><tt>"#{node['bamboo-agent']['install_dir']}/bamboo-agent-installer.jar"</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['user']['name']</tt></td> <td>String</td> <td>The username for bamboo agents</td> <td><tt>bamboo</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['user']['group']</tt></td> <td>String</td> <td>The group for bamboo agents</td> <td><tt>bamboo</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['user']['manage']</tt></td> <td>Boolean</td> <td>If the user home must be managed</td> <td><tt>true</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['user']['shell']</tt></td> <td>String</td> <td>The user shell</td> <td><tt>/bin/bash</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['capabilities']</tt></td> <td>Hash</td> <td>The default capabilities</td> <td><tt>{}</tt></td> </tr> <tr> <td><tt>['bamboo-agent']['agents']</tt></td> <td>Hash</td> <td>Agents to deploy</td> <td><tt>{}</tt></td> </tr> </table>



  "bamboo-agent": {
    "server": {
      "address": "my-bamboo-url"
    "agents": [
      {"id":"1", "capabilities": {"system.builder.command.Bash": "/bin/bash"}},
  "run_list": [

Running tests

This cookbook use Rake to run tests suites:

  • First install dependencies:
    bundle install

  • Run all checkstyle tests:
    bundle exec rake test:checkstyle

  • Run all rspec tests:
    bundle exec rake test:specs

  • Run all kitchen tests:
    bundle exec rake test:kitchen

  • Run all tests (checkstyle and rspec):
    bundle exec rake test

Available tests suites:
- Knife - RuboCop - Foodcritic - ChefSpec - Kitchen


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Author Pierre Rambaud
Author Antoine Rouyer
Copyright Copyright (c) 2014 Numergy

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

java >= 0.0.0
augeas >= 0.0.0
build-essential >= 0.0.0
apt >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Bamboo-agent CHANGELOG

This file is used to list changes made in each version of the bamboo-agent cookbook.



  • Update dependencies


  • Missing build-essential cookbook


  • Licensing, and Chefspec matchers


  • Add resource and provider to allow the installation of a agent


  • Debian and CentOs support


  • Initial release of bamboo-agent

Collaborator Number Metric

0.7.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

0.7.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, and your repo must contain a file

Foodcritic Metric

0.7.0 failed this metric

FC009: Resource attribute not recognised: bamboo-agent/recipes/download.rb:33
FC064: Ensure issues_url is set in metadata: bamboo-agent/metadata.rb:1
FC065: Ensure source_url is set in metadata: bamboo-agent/metadata.rb:1
FC066: Ensure chef_version is set in metadata: bamboo-agent/metadata.rb:1
FC069: Ensure standardized license defined in metadata: bamboo-agent/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: bamboo-agent/resources/install.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: bamboo-agent/providers/install.rb:135
FC121: Cookbook depends on cookbook made obsolete by Chef 14: bamboo-agent/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: bamboo-agent/recipes/default.rb:30
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.7.0 passed this metric

Publish Metric

0.7.0 passed this metric

Supported Platforms Metric

0.7.0 passed this metric

Testing File Metric

0.7.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, and your repo must contain a file

Version Tag Metric

0.7.0 passed this metric