From 1b4968e2fbe25df09cc15c3068f4a47b2cb73c2c Mon Sep 17 00:00:00 2001 From: sunshinekitty5 Date: Wed, 20 Aug 2014 08:05:37 -0500 Subject: [PATCH] Change dl link for 1.3.1, change version number --- README.md | 4 ++-- manifests/init.pp | 2 +- modules/golang/manifests/init.pp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cd5de67..937ab8b 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ hello ``` ## Choosing golang version -This repo is hardcoded to use 1.2.2 although this can easily be changed after cloning. If you want to use another version simply +This repo is hardcoded to use 1.3.1 although this can easily be changed after cloning. If you want to use another version simply change the `$version` parameter in `manifests/init.pp`. The version string is taken from the -[golang downloads list](https://code.google.com/p/go/wiki/Downloads). Once changed you can either call `vagrant up` if you +[golang downloads list](http://golang.org/dl/). Once changed you can either call `vagrant up` if you haven't already setup the vagrant box or `vagrant provision` if the machine is already up. ### Contributing diff --git a/manifests/init.pp b/manifests/init.pp index 09f5c5c..f4b859b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,3 +1,3 @@ class { "golang": - version => "1.2" + version => "1.3" } diff --git a/modules/golang/manifests/init.pp b/modules/golang/manifests/init.pp index 8e573a9..090ba8e 100644 --- a/modules/golang/manifests/init.pp +++ b/modules/golang/manifests/init.pp @@ -1,7 +1,7 @@ -class golang ( $version = "1.2.2" ) { +class golang ( $version = "1.3.1" ) { exec { "download-golang": - command => "/usr/bin/wget -O /usr/local/src/go$version.linux-amd64.tar.gz https://storage.googleapis.com/golang/go$version.linux-amd64.tar.gz", + command => "/usr/bin/wget -O /usr/local/src/go$version.linux-amd64.tar.gz http://golang.org/dl/go$version.linux-amd64.tar.gz", creates => "/usr/local/src/go$version.linux-amd64.tar.gz" }