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 3.0.1

Installs go programming language

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

Golang (Go) Cookbook

Cookbook Version
CI State
OpenCollective
OpenCollective
License

Description

Chef cookbook for the Go programming language.

Requirements

Platform

  • Ubuntu >= 18.04
  • Debian >= 8
  • CentOS >= 7

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 ['golang']['packages'] attribute:

{
  "name":"my_node",
  "golang": {
    "packages": [
      "github.com/go-check/check"
    ]
  },
  "run_list": [
    "recipe[golang::packages]"
  ]
}

Attributes

golang::default

Key Type Description Default
['golang']['version'] String Go version 1.5
['golang']['platform'] String amd64 or i386 amd64
['golang']['scm'] Boolean install SCM dependencies git, hg, and bzr true
['golang']['packages'] Array Go packages to install when using the golang::packages recipe []
['golang']['owner'] String The user account that owns $GOPATH root
['golang']['group'] String The group that owns $GOPATH root
['golang']['mode'] String The mode of $GOPATH 0755
['golang']['from_source'] Boolean Install go from source false
['golang']['os'] String Build go for which operating system linux
['golang']['arch'] String Build go for which architecture arm
['golang']['arm'] String Build go for which arm version 6
['golang']['source_method'] String Choose which install script should be used all.bash

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website
https://opencollective.com/sous-chefs/sponsor/1/website
https://opencollective.com/sous-chefs/sponsor/2/website
https://opencollective.com/sous-chefs/sponsor/3/website
https://opencollective.com/sous-chefs/sponsor/4/website
https://opencollective.com/sous-chefs/sponsor/5/website
https://opencollective.com/sous-chefs/sponsor/6/website
https://opencollective.com/sous-chefs/sponsor/7/website
https://opencollective.com/sous-chefs/sponsor/8/website
https://opencollective.com/sous-chefs/sponsor/9/website

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.

Unreleased

  • Clear up naming confusion: this cookbook is called golang, and its repository is named chef-golang to be clear that it is a Chef cookbook
  • Update testing setup:
    • Use Chef Workstation instead of Rubygems
    • Includes dropping foodcritic in favor of current cookstyle
    • Add more recent & current distro versions
    • Add very basic unit tests
    • Use GitHub Actions instead of Travis CI
  • Refactor minitest to Inspec
  • Refactor to use current style of Chef Custom Resource
  • Omit attempting to install bzr on CentOS 8, they do not have that package available

3.0.0

  • rename to chef-golang so that metadata name matches repositoriy name

2.0.0

  • change attribute namespace to node['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
            

3.0.1 passed this metric

Contributing File Metric
            

3.0.1 passed this metric

Foodcritic Metric
            

3.0.1 passed this metric

No Binaries Metric
            

3.0.1 passed this metric

Testing File Metric
            

3.0.1 passed this metric

Version Tag Metric
            

3.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number