Closed jondot closed 10 years ago
I'm going to follow that ticket to determine a proper fix. In the mean time, you should still be able to use the package installation option.
yup. since I want latest version, I'm using http://fossies.org/linux/privat/collectd-5.3.0.tar.gz
for now (this mirror doesn't have all versions though, but I do think it's free to upload new ones if its FOSS).
Just to make the workaround easier to apply, below is an example of how to override attributes in a Chef role:
default_attributes(
"collectd" => {
"version" => "5.3.0",
"url" => "http://fossies.org/linux/privat/collectd-5.3.0.tar.gz",
"checksum" => "3089a9784e02ebc207b4ac88a507922f8aa75fca8303e9aac51d8fc6c247daf4"
}
)
Yup. I've actually now moved to using a wrapper, and storing this tarball on internal S3 bucket. I think that's a good strategy nevertheless (not to rely on external tarballs).
When recipe downloads the collectd tarball, it is being redirected to another url. The effect is producing a 590 byte tarball, which looks compressed too.
Chef will fail with a 'corrupt tar'. If you turn on debug, you'll see that the client is redirected here:
http://collectd.org/temp/ContactMe.chef
With the message
Personally, I think the author should have made a
406 unacceptable
or that kind of sort.Any way looks like there needs to be a mirror for this for anyone's personal use.