From 64ac4c460fa69cde12a4ef95c5a83e2c1841a0d5 Mon Sep 17 00:00:00 2001 From: Steve Azzopardi Date: Sat, 23 Jan 2016 11:12:27 +0100 Subject: [PATCH 1/2] Update Go version to 1.5.3 --- modules/golang/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/golang/manifests/init.pp b/modules/golang/manifests/init.pp index 834e33b..0761149 100644 --- a/modules/golang/manifests/init.pp +++ b/modules/golang/manifests/init.pp @@ -1,4 +1,4 @@ -class golang ( $version = "1.4.1" ) { +class golang ( $version = "1.5.3" ) { exec { "download-golang": command => "/usr/bin/wget --no-check-certificate -O /usr/local/src/go$version.linux-amd64.tar.gz http://golang.org/dl/go$version.linux-amd64.tar.gz", From 2dc6298b5c8a6e14a8e831d603a526e23db09628 Mon Sep 17 00:00:00 2001 From: Steve Azzopardi Date: Sat, 23 Jan 2016 22:17:04 +0100 Subject: [PATCH 2/2] Update README to correspond with default version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53d385c..17b8e13 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Clone or copy the repo and do the following: ## Choosing golang version -This repo is hardcoded to use 1.4.1 although this can easily be changed after +This repo is hardcoded to use 1.5.3 although this can easily be changed after cloning. If you want to use another version simply set the `$version` parameter when calling the class. The version string is taken from the [golang downloads list](http://golang.org/dl/). Once changed you can either call