cookbook 'go_chef', '= 1.0.3'
go_chef (2) Versions 1.0.3 Follow1
Installs/Configures golang
cookbook 'go_chef', '= 1.0.3', :supermarket
knife supermarket install go_chef
knife supermarket download go_chef
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. Seehttps://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
tar ~> 2.1.1 |
git ~> 8.0.0 |
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.
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
1.0.3 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.3 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
1.0.3 passed this metric
License Metric
1.0.3 passed this metric
No Binaries Metric
1.0.3 passed this metric
Testing File Metric
1.0.3 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
1.0.3 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
1.0.3 failed this metric
1.0.3 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
1.0.3 passed this metric
License Metric
1.0.3 passed this metric
No Binaries Metric
1.0.3 passed this metric
Testing File Metric
1.0.3 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
1.0.3 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
1.0.3 passed this metric
1.0.3 passed this metric
No Binaries Metric
1.0.3 passed this metric
Testing File Metric
1.0.3 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
1.0.3 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
1.0.3 passed this metric
1.0.3 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
1.0.3 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
1.0.3 failed this metric