make sure consul service is up and running

This commit is contained in:
Ahmed AbouZaid 2017-11-29 23:04:26 +01:00
parent 57d1d5b8c2
commit 572e06e37d
3 changed files with 10 additions and 0 deletions

View file

@ -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:

View file

@ -3,3 +3,4 @@ source "https://rubygems.org"
gem "test-kitchen"
gem "kitchen-docker"
gem "kitchen-salt"
gem "kitchen-inspec"

View file

@ -0,0 +1,4 @@
describe service('consul') do
it { should be_enabled }
it { should be_running }
end