/chef-golang

Installs go programming language

Primary LanguageRuby

golang (Chef cookbook for Go)

Description

Chef cookbook for Go programming language.

Requirements

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.

Cookbooks

This cookbook depends on the following external cookbooks:

  • git

Usage

golang::default

Just include golang in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[golang]"
  ]
}

Attributes

golang::default

Key Type Description Default
['go']['version'] String Go version 1.0.3
['go']['platform'] String `amd64` or `i386` amd64

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:

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

Contributors