31 lines
604 B
Ruby
31 lines
604 B
Ruby
#
|
|
# Cookbook Name:: kosmos-parity
|
|
# Recipe:: node_mainnet
|
|
#
|
|
# Copyright 2017, Kosmos
|
|
#
|
|
# All rights reserved - Do Not Redistribute
|
|
#
|
|
|
|
credentials = Chef::EncryptedDataBagItem.load('credentials', 'parity')
|
|
|
|
parity_node "mainnet" do
|
|
password credentials["mainnet_password"]
|
|
config parity: {
|
|
chain: "homestead",
|
|
no_download: true, # Don't Download Updates
|
|
},
|
|
network: {
|
|
port: 30305,
|
|
},
|
|
rpc: {
|
|
port: 8547,
|
|
},
|
|
dapps: {
|
|
port: 8092,
|
|
},
|
|
ui: {
|
|
port: 8182,
|
|
}
|
|
end
|