Move block data files to CIFS share
This is the vast majority of disk space used on the host currently.
This commit is contained in:
18
site-cookbooks/kosmos-bitcoin/recipes/user.rb
Normal file
18
site-cookbooks/kosmos-bitcoin/recipes/user.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Cookbook:: kosmos-bitcoin
|
||||
# Recipe:: user
|
||||
#
|
||||
|
||||
include_recipe 'kosmos-bitcoin::user'
|
||||
|
||||
bitcoin_user = node['bitcoin']['username']
|
||||
bitcoin_group = node['bitcoin']['usergroup']
|
||||
|
||||
group bitcoin_group
|
||||
|
||||
user bitcoin_user do
|
||||
manage_home true
|
||||
uid 1006
|
||||
gid bitcoin_group
|
||||
shell "/bin/bash"
|
||||
end
|
||||
Reference in New Issue
Block a user