Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

golang (49) Versions 1.5.0

Installs go programming language

Policyfile
Berkshelf
Knife
cookbook 'golang', '= 1.5.0', :supermarket
cookbook 'golang', '= 1.5.0'
knife supermarket install golang
knife supermarket download golang
README
Dependencies
Changelog
Quality 100%

<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.3</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>
<tr>
<td><tt>['go']['owner']</tt></td>
<td>String</td>
<td>The user account that owns $GOPATH</td>
<td><tt>root</tt></td>
</tr>
<tr>
<td><tt>['go']['group']</tt></td>
<td>String</td>
<td>The group that owns $GOPATH</td>
<td><tt>root</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:

<a name="contributing"></a> Contributing

  1. Fork the repository
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Test it by running rake kitchen:all
  5. Submit a Pull Request

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

bitcoin Applicable Versions
bosun Applicable Versions
carbon-relay-ng Applicable Versions
consul Applicable Versions
consul-haproxy Applicable Versions
consul-template Applicable Versions
decred Applicable Versions
docker Applicable Versions
doozer Applicable Versions
elk_forwarder Applicable Versions
elkstack Applicable Versions
gliderlabs_registrator Applicable Versions
goiardi Applicable Versions
google_auth_proxy Applicable Versions
hashicorp-vault Applicable Versions
kronia Applicable Versions
letsencrypt-boulder-server Applicable Versions
lxd Applicable Versions
netdevops Applicable Versions
prometheus Applicable Versions
runc Applicable Versions
sbp_packer Applicable Versions
scollector Applicable Versions
signalfx Applicable Versions
simple_consul_alerts Applicable Versions
snap Applicable Versions
statsdaemon Applicable Versions
statsdaemon-bitly Applicable Versions
statsdaemon-vimeo Applicable Versions
vim-go Applicable Versions
vulcand Applicable Versions

CHANGELOG for golang

This file is used to list changes made in each version of golang.

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

Foodcritic Metric
            

1.5.0 passed this metric