Closed aktarali closed 7 years ago
You need to specify git_revision
and set it to v1.0.2
(note leading symbol v
)
Tried doing that and I'm getting the following:
bash[compile_prometheus_source] action run
run
on resource 'bash[compile_prometheus_source]'Expected process to exit with [0], but received '2' ---- Begin output of "bash" "/tmp/chef-script20160916-2914-flovrx" ---- STDOUT: STDERR: package github.com/prometheus/promu: cannot download, $GOPATH not set. For more details see: go help gopath make: *\ [promu] Error 1 ---- End output of "bash" "/tmp/chef-script20160916-2914-flovrx" ---- Ran "bash" "/tmp/chef-script20160916-2914-flovrx" returned 2
Seems the newer versions needs GOPATH specified. Doing that breaks everything as things need to be built under GOPATH. The rest of the cookbook needs modifying if this is to work.
Can someone please assist?
Ali.
I was able to overcome this error by specifying the version with v
I think there are 2 different bugs here. One is around the version, one around the known gopath problem in one of the other issues.
Hi;
I'm trying to install version 1.0.2. Updated the attributes and it fails with the following messages:
Please advise.
Thanks Ali.