Improve variable name
This commit is contained in:
parent
23588760fa
commit
97ae73c987
@ -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']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user