Merge pull request #25 from AAbouZaid/master
Test to make sure consul service is up and running.
This commit is contained in:
commit
6b2e94a0e9
3 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,11 @@ driver:
|
|||
privileged: true
|
||||
require_chef_omnibus: false
|
||||
|
||||
verifier:
|
||||
name: inspec
|
||||
inspec_tests:
|
||||
- test/integration/consul/inspec
|
||||
|
||||
platforms:
|
||||
- name: ubuntu-14.04
|
||||
driver_config:
|
||||
|
|
1
Gemfile
1
Gemfile
|
@ -3,3 +3,4 @@ source "https://rubygems.org"
|
|||
gem "test-kitchen"
|
||||
gem "kitchen-docker"
|
||||
gem "kitchen-salt"
|
||||
gem "kitchen-inspec"
|
||||
|
|
4
test/integration/consul/inspec/consul_spec.rb
Normal file
4
test/integration/consul/inspec/consul_spec.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
describe service('consul') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
Loading…
Reference in a new issue