Create the bitcoind user and its home directory

This commit is contained in:
2020-08-16 16:14:18 +02:00
committed by basti
parent 1b9a4aad17
commit 069246cf41
@@ -33,6 +33,10 @@ bitcoin_user = node['bitcoin']['username']
bitcoin_group = node['bitcoin']['usergroup']
bitcoin_datadir = node['bitcoin']['datadir']
user bitcoin_user do
manage_home true
end
directory bitcoin_datadir do
owner bitcoin_user
group bitcoin_group