From 44625ee017573c20ddcb69ec798fc8ae18b7b5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 17 Apr 2018 18:52:35 +0200 Subject: [PATCH] Don't connect to IPFS through localhost in hal8000 Use the new IPFS node on the new server --- site-cookbooks/kosmos-hubot/recipes/default.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site-cookbooks/kosmos-hubot/recipes/default.rb b/site-cookbooks/kosmos-hubot/recipes/default.rb index 29544f6..4f6fc8f 100644 --- a/site-cookbooks/kosmos-hubot/recipes/default.rb +++ b/site-cookbooks/kosmos-hubot/recipes/default.rb @@ -104,10 +104,10 @@ application hal8000_path do "KREDITS_ROOM" => node['hal8000']['kredits']['room'], "KREDITS_WALLET_PATH" => node['hal8000']['kredits']['wallet_path'], "KREDITS_WALLET_PASSWORD" => hal8000_freenode_data_bag_item['kredits_wallet_password'], - "KREDITS_CONTRACT_ADDRESS" => node['hal8000']['kredits']['contract_address'] - # "IPFS_API_HOST" => node['hal8000']['kredits']['ipfs_host'], - # "IPFS_API_PORT" => node['hal8000']['kredits']['ipfs_port'], - # "IPFS_API_PROTOCOL" => node['hal8000']['kredits']['ipfs_protocol'] + "KREDITS_CONTRACT_ADDRESS" => node['hal8000']['kredits']['contract_address'], + "IPFS_API_HOST" => node['hal8000']['kredits']['ipfs_host'], + "IPFS_API_PORT" => node['hal8000']['kredits']['ipfs_port'], + "IPFS_API_PROTOCOL" => node['hal8000']['kredits']['ipfs_protocol'] } ) notifies :run, "execute[systemctl daemon-reload]", :delayed