cookbook 'gocd_agent', '= 1.0.2'
gocd_agent
(23) Versions
1.0.2
-
Follow0
Install and configure a ThoughtWorks Go CD (GoCD) Agent/Client
cookbook 'gocd_agent', '= 1.0.2', :supermarket
knife supermarket install gocd_agent
knife supermarket download gocd_agent
gocd_agent
A Chef Cookbook to install and configure a ThoughtWorks Go CD (GoCD) Agent/Client.
Supported Platforms
Verified
- RHEL: Amazon Linux
Unverified
- RHEL: RedHat, CentOS, Scientific, Oracle, Fedora, etc.
- Debian: Debian, Ubuntu, LinuxMint, etc.
- MacOS X: MacOS X, MacOS X Server, etc.
- Windows: Windows, MinGW32, MSWin, etc.
- Solaris: Solaris, Solaris2, OpenSolaris, OmniOS, SmartOS, etc.
Requirements
Other Cookbooks
-
java
- GoCD Agents require that OpenJDK/Java 7 is installed.
package
s
-
unzip
- In some logic branches, theunzip
utility method will be used to decompress an archive file.
Attributes
Primary
# The Basics default[:gocd_agent][:name] = 'go-agent' default[:gocd_agent][:version] = '15.2.0' default[:gocd_agent][:release] = '2248' # Configure communication with the GoCD Server default[:gocd_agent][:gocd_server][:host] = '127.0.0.1' default[:gocd_agent][:gocd_server][:port] = 8153 # Auto-register new GoCD Agents with the GoCD Server? default[:gocd_agent][:auto_register][:key] = nil default[:gocd_agent][:auto_register][:resources] = [] default[:gocd_agent][:auto_register][:environments] = [] # Requires GoCD 15.2.0 or higher default[:gocd_agent][:auto_register][:hostname] = node[:hostname]
Secondary
There are many other attributes specified for this cookbook. To see them in full, review the code: attributes/default.rb
Usage
Include the gocd_agent
default recipe to install a GoCD Agent/Client on your system based on the default installation method:
include_recipe 'gocd_agent'
Synonyms: gocd_agent::default
, gocd_agent::install
Directed Install Methods
Package
Install the GoCD Agent from official packages [but without using repos]:
# Not necessary to set because it's the default, when available on a platform node[:gocd_agent][:install_method] = 'package' include_recipe 'gocd_agent' # OR: include_recipe 'gocd_agent::install_from_package'
Binary
Install the GoCD Agent from official prebuilt binaries:
# Not necessary to set because it's the default, when available on a platform node[:gocd_agent][:install_method] = 'binary' include_recipe 'gocd_agent' # OR: include_recipe 'gocd_agent::install_from_binary'
Source
Install the GoCD Agent from the released source archive:
# Not necessary to set because it's the default, when nothing else is available on a platform node[:gocd_agent][:install_method] = 'source' include_recipe 'gocd_agent' # OR: include_recipe 'gocd_agent::install_from_source'
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 (if applicable)
- Submit a Pull Request using GitHub
License
Copyright (c) 2015, James M. Greene (MIT License)
Dependent cookbooks
java ~> 1.31.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
gocd_agent
CHANGELOG
This file is used to list changes made in each version of the gocd_agent
cookbook.
1.0.2
- Initial release of the
gocd_agent
cookbook!
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
1.0.2 passed this metric
1.0.2 passed this metric