cookbook 'golang', '= 1.7.2'
golang
(50) Versions
1.7.2
-
-
5.4.21
-
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.21
- 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.7.2', :supermarket
knife supermarket install golang
knife supermarket download golang
golang (Chef cookbook for Go)
Description
Chef cookbook for Go programming language.
Requirements
Platform
- Ubuntu (12.04/13.04/14.10)
- Debian (6.0)
- CentOS (6.5)
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.
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]" ] }
Attributes
golang::default
Key | Type | Description | Default |
---|---|---|---|
['go']['version'] |
String | Go version | 1.5 |
['go']['platform'] |
String |
amd64 or i386
|
amd64 |
['go']['scm'] |
Boolean | install SCM dependencies git , hg , and bzr
|
true |
['go']['packages'] |
Array | Go packages to install when using the golang::packages recipe |
[] |
['go']['owner'] |
String | The user account that owns $GOPATH | root |
['go']['group'] |
String | The group that owns $GOPATH | root |
['go']['mode'] |
String | The mode of $GOPATH | 0755 |
['go']['from_source'] |
Boolean | Install go from source | false |
['go']['os'] |
String | Build go for which operating system | linux |
['go']['arch'] |
String | Build go for which architecture | arm |
['go']['arm'] |
String | Build go for which arm version | 6 |
['go']['source_method'] |
String | Choose which install script should be used | all.bash |
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
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
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
CHANGELOG for golang
This file is used to list changes made in each version of golang.
1.7.2
- Better chef12,13 support
- Ruby 2.3
- Update gems, lint
1.7.1
- Create a temporary directory
1.7.0
- Golang 1.5
1.6.2
- Ability to install from source
1.6.0
- Removed support for Ruby 1.9.3
1.5.1
- Fix testing with Vagrant, Test-Kitchen
- Golang 1.4
1.5.0
- Golang 1.3
1.4.0:
- Add build action to LWRP
- Update default go version to 1.2.2
- Add autodetection the platform architecture
- Change package location to http://golang.org/dl/
1.3.0:
1.2.0:
1.1.0:
- Added package LWRP
- Configurable
gopath
&gobin
1.0.2:
- Lets users easily specify another install dir
1.0.1:
- Avoid extra unpacked copy of Go
1.0.0:
- Initial release of golang
Collaborator Number Metric
1.7.2 passed this metric
Contributing File Metric
1.7.2 passed this metric
Foodcritic Metric
1.7.2 passed this metric
No Binaries Metric
1.7.2 passed this metric
Testing File Metric
1.7.2 passed this metric
Version Tag Metric
1.7.2 passed this metric
1.7.2 passed this metric
1.7.2 passed this metric
Foodcritic Metric
1.7.2 passed this metric
No Binaries Metric
1.7.2 passed this metric
Testing File Metric
1.7.2 passed this metric
Version Tag Metric
1.7.2 passed this metric
1.7.2 passed this metric
1.7.2 passed this metric
Testing File Metric
1.7.2 passed this metric
Version Tag Metric
1.7.2 passed this metric
1.7.2 passed this metric
1.7.2 passed this metric