Skip to content

Commit

Permalink
Updated to Go 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoxall committed Dec 7, 2013
1 parent 558777c commit 5050f8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ hello
```

## Choosing golang version
This repo is hardcoded to use 1.1.2 although this can easily be changed after cloning. If you want to use another version simply
This repo is hardcoded to use 1.2 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/downloads/list). 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.
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.1.2"
version => "1.2"
}
2 changes: 1 addition & 1 deletion modules/golang/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class golang ( $version = "1.1.2" ) {
class golang ( $version = "1.2" ) {

exec { "download-golang":
command => "/usr/bin/wget -O /usr/local/src/go$version.linux-amd64.tar.gz https://go.googlecode.com/files/go$version.linux-amd64.tar.gz",
Expand Down

0 comments on commit 5050f8f

Please sign in to comment.