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 supermarket mailing list.

Select Badges

Select Supported Platforms


chef-teamcity (6) Versions 1.0.0

Installs/Configures TeamCity agent/server.

cookbook 'chef-teamcity', '~> 1.0.0'
cookbook 'chef-teamcity', '~> 1.0.0', :supermarket
knife cookbook site install chef-teamcity
knife cookbook site download chef-teamcity


Gives you the ability to create TeamCity server/agent

Supported Platforms

  • CentOS 6.5
  • Redhat 6.5
  • Windows (agent only)


  • java
  • git
  • mercurial
  • subversion


<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['teamcity']['version']</tt></td> <td>String</td> <td>The version of TeamCity.</td> <td><tt>8.1.5</tt></td> </tr> <tr> <td><tt>['teamcity']['username']</tt></td> <td>String</td> <td>The username that TeamCity will be running under.</td> <td><tt>teamcity</tt></td> </tr> <tr> <td><tt>['teamcity']['password']</tt></td> <td>String</td> <td>The password that TeamCity will be running under.</td> <td></td> </tr> <tr> <td><tt>['teamcity']['group']</tt></td> <td>String</td> <td>The group that TeamCity will be running under.</td> <td><tt>teamcity</tt></td> </tr> <tr> <td><tt>['teamcity']['service_name']</tt></td> <td>String</td> <td>The service name of TeamCity.</td> <td><tt>teamcity</tt></td> </tr> <tr> <td><tt>['teamcity']['server']['backup']</tt></td> <td>String</td> <td>The URI of the TeamCity backup.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['server']['database']['username']</tt></td> <td>String</td> <td>The database user name.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['server']['database']['password']</tt></td> <td>String</td> <td>The database password.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['server']['database']['connection_url']</tt></td> <td>String</td> <td>The JDBC connection URL.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['server']['database']['jar']</tt></td> <td>String</td> <td>The URI of the database JAR file.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['name']</tt></td> <td>String</td> <td>The agent name.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['server_uri']</tt></td> <td>String</td> <td>The URI of the TeamCity server.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['own_address']</tt></td> <td>String</td> <td>The IP address of the TeamCity agent.</td> <td><tt>nil (will be set automatically)</tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['port']</tt></td> <td>String</td> <td>The The port to use for the teamcity agent.</td> <td><tt>9090</tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['authorization_token']</tt></td> <td>String</td> <td>The authorization token for the agent to be authorized on the teamcity server.</td> <td><tt>nil</tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['system_properties']</tt></td> <td>String</td> <td>Build Script Properties.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['env_properties']</tt></td> <td>String</td> <td>Environment Variables.</td> <td><tt></tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['work_dir']</tt></td> <td>String</td> <td>The work directory of the teamcity agent.</td> <td><tt>windows: C:/teamcity/work || linux: ../work</tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['temp_dir']</tt></td> <td>String</td> <td>The temp directory of the teamcity agent.</td> <td><tt>windows: C:/teamcity/temp || linux: ../temp</tt></td> </tr> <tr> <td><tt>['teamcity']['agent']['system_dir']</tt></td> <td>String</td> <td>The main directory of the teamcity agent.</td> <td><tt>windows: C:/teamcity || linux: ../system</tt></td> </tr> </table>



Include chef-teamcity in your node's run_list:

  "run_list": [


Include chef-teamcity in your node's run_list:

  "run_list": [

License and Authors

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

subversion >= 0.0.0
mercurial >= 0.0.0
git >= 0.0.0
java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


  • Initial release of chef-teamcity


  • Fix groups - 7.


  • Add java recipes - 8.
  • Added stove gem with version 3.2.3 - 9.


  • Don't regenerate the properties file if it already exists. Teamcity stores the authorizationToken there. - 10.


  • Make sure we don't process the same backup. - 11.


  • Make sure we specify the creation of a home directory. - 14.
  • Added git, mercurial and subversion.. - 15.


  • Removed duplication between agent and server. - 16
  • Added support for Teamcity 9.0 - 16

Foodcritic Metric

1.0.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/0992315037b58ccbd644a5c5/chef-teamcity/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/0992315037b58ccbd644a5c5/chef-teamcity/metadata.rb:1