Improve variable name

This commit is contained in:
Basti 2020-08-18 14:38:16 +02:00
parent 23588760fa
commit 97ae73c987
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -93,7 +93,7 @@ end
end end
end end
config = node['bitcoin']['conf'].merge({ bitcoin_config = node['bitcoin']['conf'].merge({
rpcpassword: credentials["rpcpassword"] rpcpassword: credentials["rpcpassword"]
}) })
@ -101,7 +101,7 @@ template "#{bitcoin_datadir}/bitcoin.conf" do
owner bitcoin_user owner bitcoin_user
group bitcoin_group group bitcoin_group
mode '0640' mode '0640'
variables conf: config, variables conf: bitcoin_config,
mainnet_conf: node['bitcoin']['mainnet_conf'], mainnet_conf: node['bitcoin']['mainnet_conf'],
testnet_conf: node['bitcoin']['testnet_conf'], testnet_conf: node['bitcoin']['testnet_conf'],
regtest_conf: node['bitcoin']['regtest_conf'] regtest_conf: node['bitcoin']['regtest_conf']