Update to Go 1.4
This commit is contained in:
@@ -21,7 +21,6 @@ cd /path/to/repo
|
|||||||
vagrant up
|
vagrant up
|
||||||
vagrant ssh
|
vagrant ssh
|
||||||
# ...
|
# ...
|
||||||
cd /vagrant
|
|
||||||
go version
|
go version
|
||||||
go install hello
|
go install hello
|
||||||
hello
|
hello
|
||||||
@@ -29,7 +28,7 @@ hello
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Choosing golang version
|
## Choosing golang version
|
||||||
This repo is hardcoded to use 1.3.3 although this can easily be changed after cloning. If you want to use another version simply
|
This repo is hardcoded to use 1.4 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](http://golang.org/dl/). 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.
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
class { "golang":
|
class { "golang":
|
||||||
version => "1.3.3"
|
version => "1.4"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user