Merge pull request #9 from SteveAzz/master

Update Go version to 1.5.3
This commit is contained in:
Darren Coxall
2016-01-24 20:21:22 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ Clone or copy the repo and do the following:
## Choosing golang version ## 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 cloning. If you want to use another version simply set the `$version` parameter
when calling the class. The version string is taken from the when calling the class. The version string is taken from the
[golang downloads list](http://golang.org/dl/). Once changed you can either call [golang downloads list](http://golang.org/dl/). Once changed you can either call

View File

@@ -1,4 +1,4 @@
class golang ( $version = "1.4.1" ) { class golang ( $version = "1.5.3" ) {
exec { "download-golang": 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", 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",