Closed laradji closed 10 years ago
Response from ark maintainer :+1: nacer, add the checksum
For not downloading zabbix agent at each run.
@laradji what is your chef-client version? chef 11.8.0 add remote_file management who automaticaly check if remote_file change (with "last-modified or etag).
As ark use remote_file, I strongly suggest to you to upgrade ;)
To do this, you can use http://community.opscode.com/cookbooks/omnibus_updater (after some test ;) )
Hi @guilhem ,
I use chef 11.8 ark version 0.1.1
Ok @guilhem , i think you did not see the full extend of the error pasted.
Zabbix website was down for 4h yesterday.
All my node failed to run because of this.
But if we add the checksum of the file, ark check the checksum with the file in /var/chef/cache and don't try to connect to the remote.
I have a patch in my bag for this. (Quick & not really tested)
Errno::ETIMEDOUT: ark[zabbix](zabbix::agent_prebuild line 17) had an error: Errno::ETIMEDOUT: remote_file[/var/chef/cache/zabbix.tar.gz](/var/chef/cache/cookbooks/ark/providers/default.rb line 110) had an error: Errno::ETIMEDOUT: Error connecting to http://www.zabbix.com/downloads/2.2.0/zabbix_agents_2.2.0.linux2_6.amd64.tar.gz - Connection timed out - connect(2)