Forge Home

golang

A module for Google's GO language

36,986 downloads

27,262 latest version

4.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

  • 2.0.3 (latest)
  • 2.0.2
  • 2.0.1
  • 2.0.0
  • 1.1.4
  • 1.1.3
  • 1.1.2 (deleted)
  • 1.1.1
  • 1.1.0
  • 1.0.1
  • 1.0.0
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.9
  • 0.1.8
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3 (deleted)
  • 0.1.1 (deleted)
  • 0.1.0 (deleted)
  • 0.0.1
released May 23rd 2015
This version is compatible with:
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'scottyc-golang', '0.2.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install scottyc-golang --version 0.2.3

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

scottyc/golang — version 0.2.3 May 23rd 2015

golang

Build Status

Table of Contents

  1. Overview
  2. Module Description
  3. Usage
  4. Dependencies
  5. Development

Overview

This is a module that will install Google's Go language for all users.

Module Description

This module installs GO from source, making it compatbale with any OS that listed on Google's site https://golang.org/doc/install

Usage

For basic usage:

include golang

To customise the install:

class {'golang':
  base_dir  => '/usr/local/go',
  version   =>  'go1.4.1',
  goroot    =>  "$GOPATH/bin:/usr/local/go/bin:$PATH",
  workdir   => '/usr/local/',
  }

Or all data can be set in Hiera ie golang::base_dir: /usr/local/go

##Dependencies

This module needs puppetlabs/vcsrepo

Development

Pull request welcome. Just hit me up.