Forge Home

golang

Do a barebones Go installation

455,716 downloads

409,664 latest version

2.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.2.0 (latest)
  • 1.1.1
  • 1.1.0
  • 1.0.1
  • 1.0.0
  • 0.0.2
released Nov 16th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'dcoxall-golang', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dcoxall-golang
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dcoxall-golang --version 0.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: go, golang

Documentation

dcoxall/golang — version 0.0.2 Nov 16th 2013

Golang

Quickly and easily install the Go programming language with a customisable workspace and version.

Usage

In order to use this module do the following:

class { 'golang':
  version   => '1.1.2',
  workspace => '/usr/local/src/go',
}

This will install go 1.1.2 and setup your workspace in /usr/local/go. If you then want to include a different directory in the workspace you can do the following:

file { '/home/user/project':
  ensure => link,
  target => '/usr/local/src/go/src/project',
}

Your project can then be accessed by Go:

$ go test project

Contributions

This module is fairly young and has only been tested on Debian. All contributions are welcome by forking the project and creating a pull request with your changes.