diff --git a/.travis.yml b/.travis.yml index c323b91..c581c93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,14 +26,14 @@ env: before_script: - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(chef shell-init bash)" - - chef --version + - CHEF_LICENSE=accept-no-persist chef --version - cookstyle --version - foodcritic --version -script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml CHEF_VERSION=13.10.4 kitchen verify ${INSTANCE} +script: CHEF_LICENSE=accept-no-persist KITCHEN_LOCAL_YAML=.kitchen.dokken.yml CHEF_VERSION=13.10.4 kitchen verify ${INSTANCE} matrix: include: - script: - - chef exec delivery local all + - CHEF_LICENSE=accept-no-persist chef exec delivery local all env: UNIT_AND_LINT=1 diff --git a/attributes/default.rb b/attributes/default.rb index cf69a8d..70456a1 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -2,6 +2,8 @@ node.default['ipfs']['version'] = '0.4.17' node.default['ipfs']['checksum'] = '1bb1050ebe74f9042ac721eb1b71f92e1b0e78e54c59dadfde13080facb2901c' node.default['ipfs']['cluster']['version'] = '0.4.0' +node.default['ipfs']['cluster']['service']['checksum'] = 'a168e9d3544f53f3d734098533d606b88417f6319bc8f83b1af7ef1328ed246a' +node.default['ipfs']['cluster']['ctl']['checksum'] = 'c82ba76b21a6fc42c8c635962a356c51fe6d4d0fbac2a77bfdd159cbe6a56f49' node.default['ipfs']['config'] = { # Do not contact local network addresses. This will stop platforms like Hetzner diff --git a/recipes/cluster.rb b/recipes/cluster.rb index 37b40df..25b81fc 100644 --- a/recipes/cluster.rb +++ b/recipes/cluster.rb @@ -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