Change dl link for 1.3.1, change version number

This commit is contained in:
sunshinekitty5
2014-08-20 08:05:37 -05:00
parent 96534c131c
commit 1b4968e2fb
3 changed files with 5 additions and 5 deletions

View File

@@ -29,9 +29,9 @@ hello
``` ```
## Choosing golang version ## 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 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. haven't already setup the vagrant box or `vagrant provision` if the machine is already up.
### Contributing ### Contributing

View File

@@ -1,3 +1,3 @@
class { "golang": class { "golang":
version => "1.2" version => "1.3"
} }

View File

@@ -1,7 +1,7 @@
class golang ( $version = "1.2.2" ) { class golang ( $version = "1.3.1" ) {
exec { "download-golang": 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" creates => "/usr/local/src/go$version.linux-amd64.tar.gz"
} }