diff --git a/README.md b/README.md index 937ab8b..6a7ae3a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ hello ``` ## Choosing golang version -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 +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 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 haven't already setup the vagrant box or `vagrant provision` if the machine is already up. diff --git a/manifests/init.pp b/manifests/init.pp index 15ba2ee..a9f6a08 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,3 +1,3 @@ class { "golang": - version => "1.3.1" + version => "1.3.3" } diff --git a/modules/golang/manifests/init.pp b/modules/golang/manifests/init.pp index 986d9a4..224fa61 100644 --- a/modules/golang/manifests/init.pp +++ b/modules/golang/manifests/init.pp @@ -1,4 +1,4 @@ -class golang ( $version = "1.3.1" ) { +class golang ( $version = "1.3.3" ) { exec { "download-golang": 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",