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

RSS

go_chef (2) Versions 2.0.0

Installs/Configures golang

Berkshelf
Policyfile
Knife
cookbook 'go_chef', '~> 2.0.0'
cookbook 'go_chef', '~> 2.0.0', :supermarket
knife cookbook site install go_chef
knife cookbook site download go_chef
README
Dependencies
Changelog
Quality 38%

go_chef cookbook

This is my first attempt at a Golang cookbook. I am starting first with Centos 7 and will move on from there.

This is going to be an almost total rework of the existing Golang Coobook here: https://github.com/NOX73/chef-golang.

Criticize as you see fit.

Currently Supported OS List

centos-7
debian-9
ubuntu-16.04

Attributes

See attributes/default.rb for default values.

  • default['go']['version'] - Version number of golang you want installed. See https://golang.org/dl/ for a complete listing of version numbers.

  • default['go']['platform'] - This is not being used yet but I am keeping it for the future.

  • default['go']['filename'] - The name of the golang version that will be downloaded.

  • default['go']['url'] - The url of the golang version that will be downloaded.

  • default['go']['override_url'] - Mark this as true if you will be submitting an alternate link to a golang version to download. Especially useful if your vms do not have access to the golang website and you need to repose it instead.

  • default['go']['alternate_url'] - The full alternate link from which the tar file will be extracted.

  • default['go']['install_dir'] - The install location of golang.

  • default['go']['project_home'] - The home location where your projects will be stored. It is optional to actually store your projects there.

  • default['go']['gopath'] - Your gopath.

  • default['go']['gobin'] - Your gobin.

  • default['go']['dir_permissions'] - The permissions that will be used to make the directories in your gopath.

Contributing

If you have any questions, comments, complaints, or contribution requests you can make an issue and/or a pull request. Make a new branch and see the changelog for the format of a change.

Dependent cookbooks

git ~> 8.0.0
tar ~> 2.1.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for go_chef

This file is used to list changes made in each version of golang. Mark you change number, underneath put your username then your changes.

2.0.0

  • ilovemysillybanana
  • Converted Cookbook to use resource model
  • Added Test Cookbook

1.0.3

  • bws0013
  • Removing changes from 1.0.2

1.0.2

  • bws0013
  • Testing removing depends

1.0.1

  • bws0013
  • Made changes to metadata

1.0.0

  • bws0013
  • Create a temporary directory

0.1.0

  • github username
  • change made

Collaborator Number Metric
            

2.0.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

2.0.0 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 contain a CONTRIBUTING.md file

Foodcritic Metric
            

2.0.0 failed this metric

FC108: Resource should not define a property named 'name': go_chef/resources/install.rb:2
Run with Foodcritic Version 14.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

2.0.0 passed this metric

Publish Metric
            

2.0.0 passed this metric

Supported Platforms Metric
            

2.0.0 passed this metric

Testing File Metric
            

2.0.0 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 contain a TESTING.md file

Version Tag Metric
            

2.0.0 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