cookbook 'golang', '= 1.2.0'
golang
(49) Versions
1.2.0
-
-
5.4.20
-
5.4.19
-
5.4.18
-
5.4.17
-
5.4.16
-
5.4.15
-
5.4.14
-
5.4.13
-
5.4.12
-
5.4.11
-
5.4.10
-
5.4.9
-
5.4.8
-
5.4.7
-
5.4.6
-
5.4.5
-
5.4.4
-
5.4.3
-
5.4.2
-
5.4.1
-
5.4.0
-
5.3.3
-
5.3.2
-
5.3.1
-
5.3.0
-
5.2.0
-
5.1.0
-
5.0.1
-
5.0.0
-
4.1.1
-
4.1.0
-
4.0.0
-
3.0.1
-
3.0.0
-
2.0.0
-
1.7.2
-
1.7.1
-
1.7.0
-
1.6.2
-
1.5.1
-
1.5.0
-
1.4.0
-
1.3.0
-
1.2.0
-
1.1.2
-
1.1.1
-
1.1.0
-
1.0.2
-
1.0.1
Follow23
- 5.4.20
- 5.4.19
- 5.4.18
- 5.4.17
- 5.4.16
- 5.4.15
- 5.4.14
- 5.4.13
- 5.4.12
- 5.4.11
- 5.4.10
- 5.4.9
- 5.4.8
- 5.4.7
- 5.4.6
- 5.4.5
- 5.4.4
- 5.4.3
- 5.4.2
- 5.4.1
- 5.4.0
- 5.3.3
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.1
- 5.0.0
- 4.1.1
- 4.1.0
- 4.0.0
- 3.0.1
- 3.0.0
- 2.0.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
Installs go programming language
cookbook 'golang', '= 1.2.0', :supermarket
knife supermarket install golang
knife supermarket download golang
<a name="title"></a> golang (Chef cookbook for Go)
<a name="description"></a> Description
Chef cookbook for Go programming language.
<a name="requirements"></a> Requirements
<a name="requirements-platform"></a> Platform
- Ubuntu (10.04/11.04/12.04/13.04)
- Debian (6.0)
Notes: This cookbook has been tested on the listed platforms. It
may work on other platforms with or without modification. Please
report issues any additional platforms so they can be added.
<a name="usage"></a> Usage
golang::default
Just include golang
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[golang]" ] }
golang::packages
To install Go packages using node attributes, include golang::packages
in your node's run_list
, and use the ['go']['packages']
attribute:
{ "name":"my_node", "go": { "packages": [ "launchpad.net/gocheck" ] }, "run_list": [ "recipe[golang::packages]" ] }
<a name="attributes"></a> Attributes
golang::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['go']['version']</tt></td>
<td>String</td>
<td>Go version</td>
<td><tt>1.1.2</tt></td>
</tr>
<tr>
<td><tt>['go']['platform']</tt></td>
<td>String</td>
<td>amd64
or i386
</td>
<td><tt>amd64</tt></td>
</tr>
<tr>
<td><tt>['go']['scm']</tt></td>
<td>Boolean</td>
<td>install SCM dependencies git
, hg
, and bzr
</td>
<td><tt>true</tt></td>
</tr>
</tr>
<tr>
<td><tt>['go']['packages']</tt></td>
<td>Array</td>
<td>Go packages to install when using the golang::packages
recipe</td>
<td><tt>[]</tt></td>
</tr>
</table>
<a name="testing"></a> Testing
This project have foodcritic for syntax checking and
test-kitchen for integration testing. You can run the test suite by
typing: rake kitchen:all
(may be slow for the first time).
In order to run these tests, the following
requirements must be
satisfied:
- Vagrant (>= 1.1.0)
- VirtualBox
- Vagrant Berkshelf Plugin
<a name="contributing"></a> Contributing
- Fork the repository
- Create a named feature branch (like
add_component_x
) - Write you change
- Test it by running
rake kitchen:all
- Submit a Pull Request
<a name="contributors"></a> Contributors
Dependent cookbooks
This cookbook has no specified dependencies.