Forge Home

teamcity_agent

Installs TeamCity agents

28,053 downloads

11,415 latest version

2.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Oct 15th 2016

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'wknapik-teamcity_agent', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add wknapik-teamcity_agent
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install wknapik-teamcity_agent --version 0.0.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

wknapik/teamcity_agent — version 0.0.4 Oct 15th 2016

Usage

Scenario 1: set up 8 agents, with default settings (recommended).

Agent names will be $fqdn-01 .. $fqdn-08, they will listen on ports 9090 ..

9097, will be installed in /home/teamcity/agent/ and a cron entry will be

added for each to run every 5min and call agent.sh start.

$range = range(1, 8) teamcity_agent::agent { $range : server_url => 'http://example.com/' }

Scenario 2: set the agent name and port explicitly.

teamcity_agent::agent { 'foo': server_url => 'http://example.com/' own_port => 6666, }

Scenario 3: set all options explicitly.

teamcity_agent::agent { 'my bar': user => 'ci', server_url => 'http://example.com/',

# If you want $name != $agent_name.
agent_name => 'bar', 
own_address => '172.16.1.10',
own_port => 9999,
properties => 'some.prop = qux',
with_cron => false

}

Credits

Based on https://github.com/eirc/puppet-teamcity_agent