2019-02-25 12:50:07 +01:00

23 lines
427 B
Ruby

#
# Cookbook Name:: kosmos-ipfs
# Recipe:: cluster
#
# Copyright 2018, Kosmos
#
# All rights reserved - Do Not Redistribute
#
node.override['ipfs']['cluster']['version'] = '0.9.0'
include_recipe "ipfs::cluster"
include_recipe "ipfs::cluster_service"
unless node.chef_environment == "development"
include_recipe "firewall"
firewall_rule 'ipfs_cluster' do
port 9096
protocol :tcp
command :allow
end
end