Move the ipfs cookbook to its own GitHub repository

This commit is contained in:
Greg Karékinian
2018-08-13 12:05:50 +02:00
parent de32a7c595
commit 741c4a5192
44 changed files with 610 additions and 465 deletions

View File

@@ -0,0 +1,24 @@
require 'serverspec'
# Required by serverspec
set :backend, :exec
describe 'IPFS' do
# It is in the PATH
describe command('which ipfs') do
its(:exit_status) { should eq 0 }
end
it 'is listening on port 4001' do
expect(port(4001)).to be_listening
end
it 'is listening on port 8080 (gateway)' do
expect(port(8080)).to be_listening
end
it 'has a running service of ipfs' do
expect(service('ipfs')).to be_running
expect(service('ipfs')).to be_enabled
end
end