make sure consul service is up and running
This commit is contained in:
parent
57d1d5b8c2
commit
572e06e37d
3 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,11 @@ driver:
|
||||||
privileged: true
|
privileged: true
|
||||||
require_chef_omnibus: false
|
require_chef_omnibus: false
|
||||||
|
|
||||||
|
verifier:
|
||||||
|
name: inspec
|
||||||
|
inspec_tests:
|
||||||
|
- test/integration/consul/inspec
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: ubuntu-14.04
|
- name: ubuntu-14.04
|
||||||
driver_config:
|
driver_config:
|
||||||
|
|
1
Gemfile
1
Gemfile
|
@ -3,3 +3,4 @@ source "https://rubygems.org"
|
||||||
gem "test-kitchen"
|
gem "test-kitchen"
|
||||||
gem "kitchen-docker"
|
gem "kitchen-docker"
|
||||||
gem "kitchen-salt"
|
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