WIP RSK cookbook
This commit is contained in:
23
site-cookbooks/kosmos_rsk/test/integration/rskj/rskj_test.rb
Normal file
23
site-cookbooks/kosmos_rsk/test/integration/rskj/rskj_test.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
# InSpec test for recipe kosmos_rsk::rskj
|
||||
|
||||
# The Chef InSpec reference, with examples and extensive documentation, can be
|
||||
# found at https://docs.chef.io/inspec/resources/
|
||||
|
||||
describe user('rsk') do
|
||||
it { should exist }
|
||||
end
|
||||
|
||||
describe package('rskj') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq '2.2.0' }
|
||||
end
|
||||
|
||||
describe service('rsk') do
|
||||
it { should be_enabled }
|
||||
it { should be_installed }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
describe port(4444) do
|
||||
it { should be_listening }
|
||||
end
|
||||
Reference in New Issue
Block a user