Use local IPFS API in hal8000

This commit is contained in:
Basti 2017-06-09 13:01:26 +02:00
parent a715756e7f
commit 25c4a038d3

View File

@ -102,10 +102,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