https://github.com/wknapik/teamcity_agent
Puppet module to configure TeamCity agents
https://github.com/wknapik/teamcity_agent
automation puppet puppet-forge puppet-module teamcity teamcity-agent
Last synced: about 2 months ago
JSON representation
Puppet module to configure TeamCity agents
- Host: GitHub
- URL: https://github.com/wknapik/teamcity_agent
- Owner: wknapik
- License: mit
- Created: 2016-10-15T16:51:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-15T17:15:33.000Z (over 9 years ago)
- Last Synced: 2026-02-14T20:39:30.884Z (3 months ago)
- Topics: automation, puppet, puppet-forge, puppet-module, teamcity, teamcity-agent
- Language: Puppet
- Homepage: https://forge.puppet.com/wknapik/teamcity_agent
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
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