maeq-storj
Table of Contents
Description
This module automates the install of Storj and it's components.
Usage
For more information see REFERENCE.md.
Before running
Request your authorization token
Before all things, you need to request your authorization token to each node HERE.
Create identity key
You need to create a identity key. This operation take many time and this module don't manage it.
Refer to the documentation https://documentation.storj.io/dependencies/identity#create-an-identity
Install Storj
Puppet
class { 'storj':
authorization_token => '[YOUR AUTHORIZATION TOKEN]',
wallet => '[YOUR WALLET ADDRESS]',
mail => '[YOUR EMAIL]',
host => '[THE NODE HOSTNAME OR ALTNAME]',
storage => '[THE DEDICATED ANOUT OF STORAGE]',
storage_path => '[THE DEDICATED STORAGE LOCATION]',
}
Hiera Data
include storj
storj::authorization_token: '[YOUR AUTHORIZATION TOKEN]'
storj::wallet: '[YOUR WALLET ADDRESS]'
storj::mail: '[YOUR EMAIL]'
storj::host: '[THE NODE HOSTNAME OR ALTNAME]'
storj::storage: '[THE DEDICATED ANOUT OF STORAGE]'
storj::storage_path: '[THE DEDICATED STORAGE LOCATION]'
Examples
Default installation
storj::authorization_token: 'test.test@test.test:T3sT'
storj::wallet: '0x00000000000000000000'
storj::mail: 'test.test@test.test'
storj::host: 'my_storj_storagenode'
storj::storage: '1TB'
storj::storage_path: '/dev/sdb1'
Personal docker installation
storj::authorization_token: 'test.test@test.test:T3sT'
storj::wallet: '0x00000000000000000000'
storj::mail: 'test.test@test.test'
storj::host: 'my_storj_storagenode'
storj::storage: '1TB'
storj::storage_path: '/dev/sdb1'
storj::manage_docker: false
Limitations
This module don't create the identity key. Please see documentation
Development
This project contains tests for rspec-puppet.
Quickstart to run all linter and unit tests:
bundle install --path .vendor/
bundle exec rake test