Add the checksums for the cluster packages

It prevents Chef from trying to download the packages again if the files
are already present with the correct checksum
This commit is contained in:
Greg Karékinian
2019-06-20 13:00:08 +02:00
parent c6a0159e82
commit ddad121924
3 changed files with 5 additions and 1 deletions

View File

@@ -30,11 +30,13 @@ version = node['ipfs']['cluster']['version']
ark 'ipfs-cluster-service' do
url "https://dist.ipfs.io/ipfs-cluster-service/v#{version}/ipfs-cluster-service_v#{version}_linux-amd64.tar.gz"
checksum node['ipfs']['cluster']['service']['checksum']
has_binaries ['ipfs-cluster-service']
end
ark 'ipfs-cluster-ctl' do
url "https://dist.ipfs.io/ipfs-cluster-ctl/v#{version}/ipfs-cluster-ctl_v#{version}_linux-amd64.tar.gz"
checksum node['ipfs']['cluster']['ctl']['checksum']
has_binaries ['ipfs-cluster-ctl']
end