Skip to content

Commit

Permalink
Merge pull request #2 from sunshinekitty5/master
Browse files Browse the repository at this point in the history
Change dl link for 1.3.1, change version number
  • Loading branch information
dcoxall committed Aug 20, 2014
2 parents 96534c1 + cbd7603 commit 24856e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class { "golang":
version => "1.2"
version => "1.3.1"
}
4 changes: 2 additions & 2 deletions modules/golang/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -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 --no-check-certificate -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"
}

Expand Down

0 comments on commit 24856e4

Please sign in to comment.